#787E49#787E49
#787E49 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.075 H 114.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #787E49 |
|---|---|
| RGB | rgb(120, 126, 73) |
| HSL | hsl(67, 27%, 39%) |
| HSV | hsv(67, 42%, 49%) |
| CMYK | cmyk(4.8%, 0%, 42.1%, 50.6%) |
| CIE-LAB | lab(51.15, -11.02, 28.07) |
| CIE-LCH | lch(51.15, 30.15, 111.43°) |
| OKLab | oklab(57.5% -0.0305 0.0683) |
| OKLCH | oklch(57.5% 0.075 114.1) |
| XYZ | xyz(16.4093, 19.3960, 9.1814) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.59
Olive Drab
#6F7632
ΔE00 4.72
Military Green
#667C3E
ΔE00 5.10
Khaki Green
#728639
ΔE00 5.69
Muddy Green
#657432
ΔE00 5.96
Swamp
#698339
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E49 #4F497E
analogous
#7E6A49 #787E49 #5E7E49
triadic
#787E49 #49787E #7E4978
tetradic
#787E49 #497E6A #4F497E #7E495E
square
#787E49 #497E6A #4F497E #7E495E
split-complementary
#787E49 #495E7E #6A497E
monochromatic
#2E311C #535733 #787E49 #9CA361 #B4BA88
Accessibility & contrast
On white
4.30
#787E49 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#787E49 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E49
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E49 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857945
Deuteranopia (green-blind)
#857A4B
Tritanopia (blue-blind)
#7E7871
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787e49; /* rgb */ color: rgb(120, 126, 73); /* oklch */ color: oklch(57.5% 0.075 114.1);
Tailwind
colors: {
custom: {
50: '#a0a37c',
500: '#787e49',
950: '#000000',
},
}SCSS
$custom: #787e49; $custom-light: #a0a37c; $custom-dark: #000000;
JSON
{
"hex": "#787e49",
"rgb": {
"r": 120,
"g": 126,
"b": 73
},
"hsl": {
"h": 66.792,
"s": 26.633,
"l": 39.02
},
"oklch": {
"l": 0.575,
"c": 0.07475,
"h": 114.1
},
"luminance": 0.19396
}Semantic roles & 50–950 ramp
primary
#787E49
secondary
#827DA6
accent
#65C36F
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F09
muted
#7E7F7B