#787E41#787E41
#787E41 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.084 H 113.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #787E41 |
|---|---|
| RGB | rgb(120, 126, 65) |
| HSL | hsl(66, 32%, 37%) |
| HSV | hsv(66, 48%, 49%) |
| CMYK | cmyk(4.8%, 0%, 48.4%, 50.6%) |
| CIE-LAB | lab(51.03, -11.93, 32.25) |
| CIE-LCH | lch(51.03, 34.39, 110.31°) |
| OKLab | oklab(57.37% -0.0338 0.0771) |
| OKLCH | oklch(57.37% 0.084 113.7) |
| XYZ | xyz(16.1609, 19.2967, 7.8733) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.84
Olive Drab
#6F7632
ΔE00 3.63
Khaki Green
#728639
ΔE00 4.69
Military Green
#667C3E
ΔE00 4.99
Muddy Green
#657432
ΔE00 5.39
Swamp
#698339
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E41 #47417E
analogous
#7E6641 #787E41 #597E41
triadic
#787E41 #41787E #7E4178
tetradic
#787E41 #417E66 #47417E #7E4159
square
#787E41 #417E66 #47417E #7E4159
split-complementary
#787E41 #41597E #66417E
monochromatic
#2B2D17 #52562C #787E41 #9EA656 #B6BC7D
Accessibility & contrast
On white
4.32
#787E41 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#787E41 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E41
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E41 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86793C
Deuteranopia (green-blind)
#867A44
Tritanopia (blue-blind)
#7E7870
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787e41; /* rgb */ color: rgb(120, 126, 65); /* oklch */ color: oklch(57.4% 0.084 113.7);
Tailwind
colors: {
custom: {
50: '#a0a377',
500: '#787e41',
950: '#000000',
},
}SCSS
$custom: #787e41; $custom-light: #a0a377; $custom-dark: #000000;
JSON
{
"hex": "#787e41",
"rgb": {
"r": 120,
"g": 126,
"b": 65
},
"hsl": {
"h": 65.902,
"s": 31.937,
"l": 37.451
},
"oklch": {
"l": 0.57371,
"c": 0.08416,
"h": 113.7
},
"luminance": 0.19296
}Semantic roles & 50–950 ramp
primary
#787E41
secondary
#7974A7
accent
#60C86A
background
#FAFAF7
surface
#F3F3ED
border
#CDCDC8
text
#0F0F09
muted
#7F7F7B