#787A2E#787A2E
#787A2E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.098 H 110.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787A2E |
|---|---|
| RGB | rgb(120, 122, 46) |
| HSL | hsl(62, 45%, 33%) |
| HSV | hsv(62, 62%, 48%) |
| CMYK | cmyk(1.6%, 0%, 62.3%, 52.2%) |
| CIE-LAB | lab(49.63, -11.49, 40.23) |
| CIE-LCH | lch(49.63, 41.84, 105.95°) |
| OKLab | oklab(56.18% -0.0346 0.0922) |
| OKLCH | oklch(56.18% 0.098 110.6) |
| XYZ | xyz(15.1988, 18.1098, 5.2791) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.96
Olive (survey)
#6E750E
ΔE00 4.10
Drab
#828344
ΔE00 4.46
Murky Green
#6C7A0E
ΔE00 4.57
Poop Green
#6F7C00
ΔE00 5.05
Shit Green
#758000
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A2E #302E7A
analogous
#7A562E #787A2E #527A2E
triadic
#787A2E #2E787A #7A2E78
tetradic
#787A2E #2E7A56 #302E7A #7A2E52
square
#787A2E #2E7A56 #302E7A #7A2E52
split-complementary
#787A2E #2E527A #562E7A
monochromatic
#21210C #4C4E1D #787A2E #A4A63F #C0C360
Accessibility & contrast
On white
4.54
#787A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#787A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A2E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A2E | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 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)
#837525
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a2e; /* rgb */ color: rgb(120, 122, 46); /* oklch */ color: oklch(56.2% 0.098 110.6);
Tailwind
colors: {
custom: {
50: '#a1a06a',
500: '#787a2e',
950: '#000000',
},
}SCSS
$custom: #787a2e; $custom-light: #a1a06a; $custom-dark: #000000;
JSON
{
"hex": "#787a2e",
"rgb": {
"r": 120,
"g": 122,
"b": 46
},
"hsl": {
"h": 61.579,
"s": 45.238,
"l": 32.941
},
"oklch": {
"l": 0.5618,
"c": 0.09848,
"h": 110.6
},
"luminance": 0.18109
}Semantic roles & 50–950 ramp
primary
#787A2E
secondary
#5C5AAA
accent
#53D556
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A