Nearest named color · #5A812F
#5A812F
Nearest named color: Master Chief
#5A812F (rgb(90 129 47), hsl(89 47% 35%), oklch(0.556 0.12 130.9)) is closest to the named color Master Chief. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5A812F
oklch(0.556 0.12 130.9)
Color conversions
- HEX
- #5a812f
- RGB
- rgb(90 129 47)
- HSL
- hsl(89 47% 35%)
- HWB
- hwb(89 18% 49%)
- OKLCH
- oklch(0.556 0.12 130.9)
- OKLab
- oklab(0.556 -0.078 0.09)
- CIE Lab
- lab(49.72 -24.81 38.58)
- LCH
- lch(49.72 45.87 122.7)
- CMYK
- cmyk(30% 0% 64% 49%)
Tints · Shades · Tones
Tints
- 698D46
- 799A5B
- 89A66F
- 99B383
- AABF97
- BACCAC
- CBD8C0
- DCE5D5
- EDF2EA
Shades
- 4D6F27
- 415E20
- 354E19
- 293E12
- 1E2E0C
- 131F06
- 091203
- 030601
- 000100
Tones
- 5E813A
- 628143
- 66814C
- 6A8154
- 6D815C
- 718163
- 75816B
- 798172
- 7C8079
Color harmonies
Complementary +180°
- 5A812F
Master Chief
- 8A5DA7
≈ Chive Blossom
Analogous -30° +30°
- 5A812F
Master Chief
- 827400
≈ Tool Green
- 11885C
≈ Primal Green
Triadic +120° +240°
- 5A812F
Master Chief
- 3676B7
≈ North Atlantic Breeze
- AD5262
≈ Kissed by a Zombies
Split-complementary +150° +210°
- 5A812F
Master Chief
- 6869B7
≈ Bluish Purple Anemone
- A15588
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5A812F
Master Chief
- 00809D
≈ Amazing Sky
- 8A5DA7
≈ Chive Blossom
- AC5838
≈ Flat Earth
Contrast & accessibility
Ag
AAOn white
WCAG 4.54:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.61:1 · APCA Lc 30
Best text color: #000000
WCAG 4.61:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--master-chief: #5a812f;
--master-chief-rgb: 90 129 47;
--master-chief-oklch: oklch(0.556 0.12 130.9);
}
.element {
color: var(--master-chief);
background-color: hsl(89 47% 35%);
border-color: oklch(0.556 0.12 130.9);
}Tailwind CSS v4
@theme {
--color-master-chief: #5a812f;
--color-master-chief-50: #e8fdda;
--color-master-chief-100: #d9f1c8;
--color-master-chief-200: #c1e0ab;
--color-master-chief-300: #a0c585;
--color-master-chief-400: #85ad60;
--color-master-chief-500: #6a9639;
--color-master-chief-600: #5a7f32;
--color-master-chief-700: #476528;
--color-master-chief-800: #354a19;
--color-master-chief-900: #243310;
--color-master-chief-950: #131f03;
}SCSS
$master-chief: #5a812f;
$master-chief-rgb: 90, 129, 47;
$master-chief-light: mix(#fff, $master-chief, 20%);
$master-chief-dark: mix(#000, $master-chief, 20%);
.element {
color: $master-chief;
box-shadow: 0 0 0 2px rgba($master-chief, 0.35);
}