#787A2C#787A2C
#787A2C is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.100 H 110.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787A2C |
|---|---|
| RGB | rgb(120, 122, 44) |
| HSL | hsl(62, 47%, 33%) |
| HSV | hsv(62, 64%, 48%) |
| CMYK | cmyk(1.6%, 0%, 63.9%, 52.2%) |
| CIE-LAB | lab(49.61, -11.64, 41.14) |
| CIE-LCH | lch(49.61, 42.75, 105.80°) |
| OKLab | oklab(56.16% -0.0353 0.0938) |
| OKLCH | oklch(56.16% 0.1 110.6) |
| XYZ | xyz(15.1603, 18.0944, 5.0763) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.15
Olive (survey)
#6E750E
ΔE00 3.86
Murky Green
#6C7A0E
ΔE00 4.36
Drab
#828344
ΔE00 4.66
Poop Green
#6F7C00
ΔE00 4.79
Shit Green
#758000
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A2C #2E2C7A
analogous
#7A552C #787A2C #517A2C
triadic
#787A2C #2C787A #7A2C78
tetradic
#787A2C #2C7A55 #2E2C7A #7A2C51
square
#787A2C #2C7A55 #2E2C7A #7A2C51
split-complementary
#787A2C #2C517A #552C7A
monochromatic
#20200C #4C4D1C #787A2C #A4A73C #C2C45C
Accessibility & contrast
On white
4.55
#787A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#787A2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A2C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A2C | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837523
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a2c; /* rgb */ color: rgb(120, 122, 44); /* oklch */ color: oklch(56.2% 0.100 110.6);
Tailwind
colors: {
custom: {
50: '#a1a069',
500: '#787a2c',
950: '#000000',
},
}SCSS
$custom: #787a2c; $custom-light: #a1a069; $custom-dark: #000000;
JSON
{
"hex": "#787a2c",
"rgb": {
"r": 120,
"g": 122,
"b": 44
},
"hsl": {
"h": 61.538,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.56159,
"c": 0.10024,
"h": 110.6
},
"luminance": 0.18094
}Semantic roles & 50–950 ramp
primary
#787A2C
secondary
#5A57AA
accent
#51D755
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A