Nearest named color · #5A7F2E
#5A7F2E
Nearest named color: Master Chief
#5A7F2E (rgb(90 127 46), hsl(87 47% 34%), oklch(0.551 0.118 130.3)) is closest to the named color Master Chief. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5A7F2E
oklch(0.551 0.118 130.3)
Color conversions
- HEX
- #5a7f2e
- RGB
- rgb(90 127 46)
- HSL
- hsl(87 47% 34%)
- HWB
- hwb(87 18% 50%)
- OKLCH
- oklch(0.551 0.118 130.3)
- OKLab
- oklab(0.551 -0.076 0.09)
- CIE Lab
- lab(49.07 -23.96 38.35)
- LCH
- lch(49.07 45.22 122)
- CMYK
- cmyk(29% 0% 64% 50%)
Tints · Shades · Tones
Tints
- 698B45
- 79985A
- 89A56E
- 99B182
- A9BE97
- BACBAB
- CBD8C0
- DCE5D5
- EDF2EA
Shades
- 4D6E27
- 415D1F
- 354C18
- 293C12
- 1E2D0B
- 131F06
- 091102
- 030601
- 000100
Tones
- 5E7F39
- 628042
- 66804B
- 698053
- 6D805B
- 718063
- 75806A
- 798072
- 7C8079
Color harmonies
Complementary +180°
- 5A7F2E
Master Chief
- 875CA5
≈ Chive Blossom
Analogous -30° +30°
- 5A7F2E
Master Chief
- 817200
≈ Sunlit Kelp Green
- 16865A
≈ Primal Green
Triadic +120° +240°
- 5A7F2E
Master Chief
- 3575B3
≈ North Atlantic Breeze
- AA5162
≈ Rose Vale
Split-complementary +150° +210°
- 5A7F2E
Master Chief
- 6568B5
≈ Bluish Purple Anemone
- 9E5487
≈ Purple Zergling
Tetradic +90° +180° +270°
- 5A7F2E
Master Chief
- 007F9A
≈ Amazing Sky
- 875CA5
≈ Chive Blossom
- AA5739
≈ Flat Earth
Contrast & accessibility
Ag
AAOn white
WCAG 4.65:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.50:1 · APCA Lc 29
Best text color: #FFFFFF
WCAG 4.65:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--master-chief: #5a7f2e;
--master-chief-rgb: 90 127 46;
--master-chief-oklch: oklch(0.551 0.118 130.3);
}
.element {
color: var(--master-chief);
background-color: hsl(87 47% 34%);
border-color: oklch(0.551 0.118 130.3);
}Tailwind CSS v4
@theme {
--color-master-chief: #5a7f2e;
--color-master-chief-50: #e9fdda;
--color-master-chief-100: #d9f1c9;
--color-master-chief-200: #c2dfac;
--color-master-chief-300: #a1c585;
--color-master-chief-400: #87ac60;
--color-master-chief-500: #6b953a;
--color-master-chief-600: #5b7e33;
--color-master-chief-700: #496528;
--color-master-chief-800: #364a1a;
--color-master-chief-900: #253311;
--color-master-chief-950: #141f04;
}SCSS
$master-chief: #5a7f2e;
$master-chief-rgb: 90, 127, 46;
$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);
}