#787C25#787C25
#787C25 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.108 H 112.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #787C25 |
|---|---|
| RGB | rgb(120, 124, 37) |
| HSL | hsl(63, 54%, 32%) |
| HSV | hsv(63, 70%, 49%) |
| CMYK | cmyk(3.2%, 0%, 70.2%, 51.4%) |
| CIE-LAB | lab(50.15, -13.20, 44.78) |
| CIE-LCH | lch(50.15, 46.68, 106.42°) |
| OKLab | oklab(56.57% -0.0405 0.1004) |
| OKLCH | oklch(56.57% 0.108 112) |
| XYZ | xyz(15.2878, 18.5423, 4.5236) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.45
Murky Green
#6C7A0E
ΔE00 3.45
Poop Green
#6F7C00
ΔE00 3.58
Shit Green
#758000
ΔE00 3.68
Olive Drab
#6F7632
ΔE00 4.15
Olive
#808000
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C25 #29257C
analogous
#7C5525 #787C25 #4D7C25
triadic
#787C25 #25787C #7C2578
tetradic
#787C25 #257C55 #29257C #7C254D
square
#787C25 #257C55 #29257C #7C254D
split-complementary
#787C25 #254D7C #55257C
monochromatic
#1D1E09 #4A4D17 #787C25 #A6AB33 #C5CB50
Accessibility & contrast
On white
4.46
#787C25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#787C25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C25
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C25 | 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)
#867618
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787c25; /* rgb */ color: rgb(120, 124, 37); /* oklch */ color: oklch(56.6% 0.108 112.0);
Tailwind
colors: {
custom: {
50: '#a2a165',
500: '#787c25',
950: '#000000',
},
}SCSS
$custom: #787c25; $custom-light: #a2a165; $custom-dark: #000000;
JSON
{
"hex": "#787c25",
"rgb": {
"r": 120,
"g": 124,
"b": 37
},
"hsl": {
"h": 62.759,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.5657,
"c": 0.1082,
"h": 112
},
"luminance": 0.18542
}Semantic roles & 50–950 ramp
primary
#787C25
secondary
#534FAE
accent
#4ADD51
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A