#817E2A#817E2A
#817E2A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.105 H 107.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #817E2A |
|---|---|
| RGB | rgb(129, 126, 42) |
| HSL | hsl(58, 51%, 34%) |
| HSV | hsv(58, 67%, 51%) |
| CMYK | cmyk(0%, 2.3%, 67.4%, 49.4%) |
| CIE-LAB | lab(51.56, -9.87, 44.34) |
| CIE-LCH | lch(51.56, 45.42, 102.55°) |
| OKLab | oklab(57.9% -0.0311 0.1) |
| OKLCH | oklch(57.9% 0.105 107.3) |
| XYZ | xyz(16.9326, 19.7565, 5.1115) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.83
Drab
#828344
ΔE00 4.47
Shit Green
#758000
ΔE00 4.96
Olive (survey)
#6E750E
ΔE00 5.44
Poop Green
#6F7C00
ΔE00 5.55
Murky Green
#6C7A0E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817E2A #2A2D81
analogous
#81522A #817E2A #58812A
triadic
#817E2A #2A817E #7E2A81
tetradic
#817E2A #2A8152 #2A2D81 #812A58
square
#817E2A #2A8152 #2A2D81 #812A58
split-complementary
#817E2A #2A5881 #522A81
monochromatic
#25240C #53511B #817E2A #AFAB39 #CAC65C
Accessibility & contrast
On white
4.24
#817E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#817E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817E2A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817E2A | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#8A766D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #817e2a; /* rgb */ color: rgb(129, 126, 42); /* oklch */ color: oklch(57.9% 0.105 107.3);
Tailwind
colors: {
custom: {
50: '#a8a368',
500: '#817e2a',
950: '#000000',
},
}SCSS
$custom: #817e2a; $custom-light: #a8a368; $custom-dark: #000000;
JSON
{
"hex": "#817e2a",
"rgb": {
"r": 129,
"g": 126,
"b": 42
},
"hsl": {
"h": 57.931,
"s": 50.877,
"l": 33.529
},
"oklch": {
"l": 0.57902,
"c": 0.10472,
"h": 107.3
},
"luminance": 0.19756
}Semantic roles & 50–950 ramp
primary
#817E2A
secondary
#575AAF
accent
#52DA4D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A