#787F2A#787F2A
#787F2A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.108 H 113.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #787F2A |
|---|---|
| RGB | rgb(120, 127, 42) |
| HSL | hsl(65, 50%, 33%) |
| HSV | hsv(65, 67%, 50%) |
| CMYK | cmyk(5.5%, 0%, 66.9%, 50.2%) |
| CIE-LAB | lab(51.08, -14.49, 43.60) |
| CIE-LCH | lch(51.08, 45.94, 108.39°) |
| OKLab | oklab(57.33% -0.0435 0.0987) |
| OKLCH | oklch(57.33% 0.108 113.8) |
| XYZ | xyz(15.7534, 19.3393, 5.0930) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 3.73
Shit Green
#758000
ΔE00 3.74
Poop Green
#6F7C00
ΔE00 3.88
Olive Drab
#6F7632
ΔE00 4.36
Olive (survey)
#6E750E
ΔE00 4.45
Drab
#828344
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F2A #312A7F
analogous
#7F5B2A #787F2A #4D7F2A
triadic
#787F2A #2A787F #7F2A78
tetradic
#787F2A #2A7F5B #312A7F #7F2A4D
square
#787F2A #2A7F5B #312A7F #7F2A4D
split-complementary
#787F2A #2A4D7F #5B2A7F
monochromatic
#21230C #4D511B #787F2A #A3AD39 #C0C95B
Accessibility & contrast
On white
4.31
#787F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#787F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F2A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F2A | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#80786E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787f2a; /* rgb */ color: rgb(120, 127, 42); /* oklch */ color: oklch(57.3% 0.108 113.8);
Tailwind
colors: {
custom: {
50: '#a1a468',
500: '#787f2a',
950: '#000000',
},
}SCSS
$custom: #787f2a; $custom-light: #a1a468; $custom-dark: #000000;
JSON
{
"hex": "#787f2a",
"rgb": {
"r": 120,
"g": 127,
"b": 42
},
"hsl": {
"h": 64.941,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.5733,
"c": 0.10788,
"h": 113.8
},
"luminance": 0.19339
}Semantic roles & 50–950 ramp
primary
#787F2A
secondary
#5E57AE
accent
#4EDA5A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A