#787E2E#787E2E
#787E2E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.103 H 113.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #787E2E |
|---|---|
| RGB | rgb(120, 126, 46) |
| HSL | hsl(65, 47%, 34%) |
| HSV | hsv(65, 63%, 49%) |
| CMYK | cmyk(4.8%, 0%, 63.5%, 50.6%) |
| CIE-LAB | lab(50.82, -13.67, 41.51) |
| CIE-LCH | lch(50.82, 43.71, 108.22°) |
| OKLab | oklab(57.13% -0.0408 0.0949) |
| OKLCH | oklch(57.13% 0.103 113.2) |
| XYZ | xyz(15.7001, 19.1123, 5.4462) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.74
Drab
#828344
ΔE00 4.07
Murky Green
#6C7A0E
ΔE00 4.11
Poop Green
#6F7C00
ΔE00 4.45
Shit Green
#758000
ΔE00 4.47
Olive (survey)
#6E750E
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E2E #342E7E
analogous
#7E5C2E #787E2E #507E2E
triadic
#787E2E #2E787E #7E2E78
tetradic
#787E2E #2E7E5C #342E7E #7E2E50
square
#787E2E #2E7E5C #342E7E #7E2E50
split-complementary
#787E2E #2E507E #5C2E7E
monochromatic
#23240D #4D511E #787E2E #A3AB3E #BEC561
Accessibility & contrast
On white
4.35
#787E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#787E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E2E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E2E | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#80776D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e2e; /* rgb */ color: rgb(120, 126, 46); /* oklch */ color: oklch(57.1% 0.103 113.2);
Tailwind
colors: {
custom: {
50: '#a1a36b',
500: '#787e2e',
950: '#000000',
},
}SCSS
$custom: #787e2e; $custom-light: #a1a36b; $custom-dark: #000000;
JSON
{
"hex": "#787e2e",
"rgb": {
"r": 120,
"g": 126,
"b": 46
},
"hsl": {
"h": 64.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.5713,
"c": 0.10331,
"h": 113.2
},
"luminance": 0.19112
}Semantic roles & 50–950 ramp
primary
#787E2E
secondary
#625CAC
accent
#52D65C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A