#787E53#787E53
#787E53 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.062 H 114.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #787E53 |
|---|---|
| RGB | rgb(120, 126, 83) |
| HSL | hsl(68, 21%, 41%) |
| HSV | hsv(68, 34%, 49%) |
| CMYK | cmyk(4.8%, 0%, 34.1%, 50.6%) |
| CIE-LAB | lab(51.31, -9.72, 22.71) |
| CIE-LCH | lch(51.31, 24.70, 113.16°) |
| OKLab | oklab(57.68% -0.0261 0.0564) |
| OKLCH | oklch(57.68% 0.062 114.8) |
| XYZ | xyz(16.7679, 19.5395, 11.0701) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.49
Military Green
#667C3E
ΔE00 6.27
Olive Drab
#6F7632
ΔE00 6.76
Camo
#7F8F4E
ΔE00 7.42
Muddy Green
#657432
ΔE00 7.48
Khaki Green
#728639
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E53 #59537E
analogous
#7E6E53 #787E53 #627E53
triadic
#787E53 #53787E #7E5378
tetradic
#787E53 #537E6E #59537E #7E5362
square
#787E53 #537E6E #59537E #7E5362
split-complementary
#787E53 #53627E #6E537E
monochromatic
#323422 #55593B #787E53 #99A06E #B3B893
Accessibility & contrast
On white
4.28
#787E53 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#787E53 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E53
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E53 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E53 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#837B55
Tritanopia (blue-blind)
#7D7973
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787e53; /* rgb */ color: rgb(120, 126, 83); /* oklch */ color: oklch(57.7% 0.062 114.8);
Tailwind
colors: {
custom: {
50: '#9fa384',
500: '#787e53',
950: '#000000',
},
}SCSS
$custom: #787e53; $custom-light: #9fa384; $custom-dark: #000000;
JSON
{
"hex": "#787e53",
"rgb": {
"r": 120,
"g": 126,
"b": 83
},
"hsl": {
"h": 68.372,
"s": 20.574,
"l": 40.98
},
"oklch": {
"l": 0.57685,
"c": 0.06211,
"h": 114.8
},
"luminance": 0.19539
}Semantic roles & 50–950 ramp
primary
#787E53
secondary
#8C87A5
accent
#6BBD76
background
#F9FAF8
surface
#F2F3EF
border
#CCCDCA
text
#0E0F0B
muted
#7E7F7C