#787C39#787C39
#787C39 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.090 H 112.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #787C39 |
|---|---|
| RGB | rgb(120, 124, 57) |
| HSL | hsl(64, 37%, 35%) |
| HSV | hsv(64, 54%, 49%) |
| CMYK | cmyk(3.2%, 0%, 54%, 51.4%) |
| CIE-LAB | lab(50.34, -11.65, 35.60) |
| CIE-LCH | lch(50.34, 37.46, 108.12°) |
| OKLab | oklab(56.79% -0.0338 0.0837) |
| OKLCH | oklch(56.79% 0.09 112) |
| XYZ | xyz(15.6922, 18.7041, 6.6537) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.76
Drab
#828344
ΔE00 3.21
Khaki Green
#728639
ΔE00 5.14
Muddy Green
#657432
ΔE00 5.18
Dirty Green
#667E2C
ΔE00 5.56
Military Green
#667C3E
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C39 #3D397C
analogous
#7C5E39 #787C39 #567C39
triadic
#787C39 #39787C #7C3978
tetradic
#787C39 #397C5E #3D397C #7C3956
square
#787C39 #397C5E #3D397C #7C3956
split-complementary
#787C39 #39567C #5E397C
monochromatic
#272812 #4F5226 #787C39 #A1A64C #B9BE71
Accessibility & contrast
On white
4.43
#787C39 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#787C39 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C39
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C39 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847733
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#7F756D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c39; /* rgb */ color: rgb(120, 124, 57); /* oklch */ color: oklch(56.8% 0.090 112.0);
Tailwind
colors: {
custom: {
50: '#a1a171',
500: '#787c39',
950: '#000000',
},
}SCSS
$custom: #787c39; $custom-light: #a1a171; $custom-dark: #000000;
JSON
{
"hex": "#787c39",
"rgb": {
"r": 120,
"g": 124,
"b": 57
},
"hsl": {
"h": 63.582,
"s": 37.017,
"l": 35.49
},
"oklch": {
"l": 0.56785,
"c": 0.09024,
"h": 112
},
"luminance": 0.18704
}Semantic roles & 50–950 ramp
primary
#787C39
secondary
#6D6AA7
accent
#5BCD62
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0F08
muted
#7F7E7B