#787B2E#787B2E
#787B2E is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.100 H 111.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #787B2E |
|---|---|
| RGB | rgb(120, 123, 46) |
| HSL | hsl(62, 46%, 33%) |
| HSV | hsv(62, 63%, 48%) |
| CMYK | cmyk(2.4%, 0%, 62.6%, 51.8%) |
| CIE-LAB | lab(49.93, -12.04, 40.55) |
| CIE-LCH | lch(49.93, 42.30, 106.54°) |
| OKLab | oklab(56.42% -0.0362 0.0929) |
| OKLCH | oklch(56.42% 0.1 111.3) |
| XYZ | xyz(15.3222, 18.3566, 5.3203) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.08
Olive (survey)
#6E750E
ΔE00 4.14
Drab
#828344
ΔE00 4.30
Murky Green
#6C7A0E
ΔE00 4.39
Poop Green
#6F7C00
ΔE00 4.84
Shit Green
#758000
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B2E #312E7B
analogous
#7B572E #787B2E #517B2E
triadic
#787B2E #2E787B #7B2E78
tetradic
#787B2E #2E7B57 #312E7B #7B2E51
square
#787B2E #2E7B57 #312E7B #7B2E51
split-complementary
#787B2E #2E517B #572E7B
monochromatic
#21220D #4D4E1D #787B2E #A3A83F #C0C360
Accessibility & contrast
On white
4.50
#787B2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#787B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B2E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B2E | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847625
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#80746B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787b2e; /* rgb */ color: rgb(120, 123, 46); /* oklch */ color: oklch(56.4% 0.100 111.3);
Tailwind
colors: {
custom: {
50: '#a1a16a',
500: '#787b2e',
950: '#000000',
},
}SCSS
$custom: #787b2e; $custom-light: #a1a16a; $custom-dark: #000000;
JSON
{
"hex": "#787b2e",
"rgb": {
"r": 120,
"g": 123,
"b": 46
},
"hsl": {
"h": 62.338,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.56417,
"c": 0.09967,
"h": 111.3
},
"luminance": 0.18356
}Semantic roles & 50–950 ramp
primary
#787B2E
secondary
#5E5BAA
accent
#53D558
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A