#787C24#787C24
#787C24 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.109 H 112.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #787C24 |
|---|---|
| RGB | rgb(120, 124, 36) |
| HSL | hsl(63, 55%, 31%) |
| HSV | hsv(63, 71%, 49%) |
| CMYK | cmyk(3.2%, 0%, 71%, 51.4%) |
| CIE-LAB | lab(50.14, -13.26, 45.18) |
| CIE-LCH | lch(50.14, 47.09, 106.35°) |
| OKLab | oklab(56.56% -0.0407 0.101) |
| OKLCH | oklch(56.56% 0.109 112) |
| XYZ | xyz(15.2723, 18.5361, 4.4420) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 3.40
Poop Green
#6F7C00
ΔE00 3.48
Shit Green
#758000
ΔE00 3.57
Olive
#808000
ΔE00 4.20
Olive Drab
#6F7632
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C24 #28247C
analogous
#7C5424 #787C24 #4C7C24
triadic
#787C24 #24787C #7C2478
tetradic
#787C24 #247C54 #28247C #7C244C
square
#787C24 #247C54 #28247C #7C244C
split-complementary
#787C24 #244C7C #54247C
monochromatic
#1C1D08 #4A4D16 #787C24 #A6AB32 #C6CC4F
Accessibility & contrast
On white
4.46
#787C24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#787C24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C24
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C24 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867616
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787c24; /* rgb */ color: rgb(120, 124, 36); /* oklch */ color: oklch(56.6% 0.109 112.0);
Tailwind
colors: {
custom: {
50: '#a2a165',
500: '#787c24',
950: '#000000',
},
}SCSS
$custom: #787c24; $custom-light: #a2a165; $custom-dark: #000000;
JSON
{
"hex": "#787c24",
"rgb": {
"r": 120,
"g": 124,
"b": 36
},
"hsl": {
"h": 62.727,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.56561,
"c": 0.10893,
"h": 112
},
"luminance": 0.18536
}Semantic roles & 50–950 ramp
primary
#787C24
secondary
#524DAE
accent
#49DE50
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A