Nearest named color · #4E780B
#4E780B
Nearest named color: Master Chief
#4E780B (rgb(78 120 11), hsl(83 83% 26%), oklch(0.522 0.136 130.2)) is closest to the named color Master Chief. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4E780B
oklch(0.522 0.136 130.2)
Color conversions
- HEX
- #4e780b
- RGB
- rgb(78 120 11)
- HSL
- hsl(83 83% 26%)
- HWB
- hwb(83 4% 53%)
- OKLCH
- oklch(0.522 0.136 130.2)
- OKLab
- oklab(0.522 -0.088 0.104)
- CIE Lab
- lab(45.88 -27.18 47.23)
- LCH
- lch(45.88 54.49 119.9)
- CMYK
- cmyk(35% 0% 91% 53%)
Tints · Shades · Tones
Tints
- 5E8530
- 6F9249
- 80A060
- 91AD77
- A3BB8D
- B5C8A3
- C7D6BA
- D9E3D1
- ECF1E8
Shades
- 436708
- 385706
- 2D4804
- 233902
- 192A01
- 0F1D01
- 071000
- 020500
- 000100
Tones
- 537922
- 587A31
- 5D7B3D
- 627C48
- 677D52
- 6C7E5C
- 717E65
- 767F6E
- 7B8077
Color harmonies
Complementary +180°
- 4E780B
Master Chief
- 824FA3
≈ Royal Lilac
Analogous -30° +30°
- 4E780B
Master Chief
- 786A00
≈ Arousing Alligator
- 007E52
≈ Salem
Triadic +120° +240°
- 4E780B
Master Chief
- 186CB4
≈ Beautiful Blue
- A84157
≈ Speaking of the Devil
Split-complementary +150° +210°
- 4E780B
Master Chief
- 5C5DB5
≈ Yuè Guāng Lán Moonlight
- 9B4582
≈ Grape Riot
Tetradic +90° +180° +270°
- 4E780B
Master Chief
- 00768F
≈ Enamel Blue
- 824FA3
≈ Royal Lilac
- A84823
≈ Potter’s Clay
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--master-chief: #4e780b;
--master-chief-rgb: 78 120 11;
--master-chief-oklch: oklch(0.522 0.136 130.2);
}
.element {
color: var(--master-chief);
background-color: hsl(83 83% 26%);
border-color: oklch(0.522 0.136 130.2);
}Tailwind CSS v4
@theme {
--color-master-chief: #4e780b;
--color-master-chief-50: #e7fed6;
--color-master-chief-100: #d7f2c3;
--color-master-chief-200: #bfe1a5;
--color-master-chief-300: #9dc67c;
--color-master-chief-400: #83ae53;
--color-master-chief-500: #679725;
--color-master-chief-600: #578022;
--color-master-chief-700: #46661b;
--color-master-chief-800: #344b0e;
--color-master-chief-900: #243409;
--color-master-chief-950: #121f00;
}SCSS
$master-chief: #4e780b;
$master-chief-rgb: 78, 120, 11;
$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);
}