#817A2A#817A2A
#817A2A is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.101 H 104.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #817A2A |
|---|---|
| RGB | rgb(129, 122, 42) |
| HSL | hsl(55, 51%, 34%) |
| HSV | hsv(55, 67%, 51%) |
| CMYK | cmyk(0%, 5.4%, 67.4%, 49.4%) |
| CIE-LAB | lab(50.40, -7.66, 43.13) |
| CIE-LCH | lch(50.40, 43.80, 100.08°) |
| OKLab | oklab(56.98% -0.0249 0.0975) |
| OKLCH | oklch(56.98% 0.101 104.3) |
| XYZ | xyz(16.4313, 18.7540, 4.9444) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.70
Olive
#808000
ΔE00 4.85
Drab
#828344
ΔE00 5.26
Olive (survey)
#6E750E
ΔE00 5.55
Olive Drab
#6F7632
ΔE00 5.79
Brown Green
#706C11
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817A2A #2A3181
analogous
#814E2A #817A2A #5C812A
triadic
#817A2A #2A817A #7A2A81
tetradic
#817A2A #2A814E #2A3181 #812A5C
square
#817A2A #2A814E #2A3181 #812A5C
split-complementary
#817A2A #2A5C81 #4E2A81
monochromatic
#25230C #534E1B #817A2A #AFA639 #CAC15C
Accessibility & contrast
On white
4.42
#817A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#817A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817A2A
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817A2A | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#8B7269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #817a2a; /* rgb */ color: rgb(129, 122, 42); /* oklch */ color: oklch(57.0% 0.101 104.3);
Tailwind
colors: {
custom: {
50: '#a8a068',
500: '#817a2a',
950: '#000000',
},
}SCSS
$custom: #817a2a; $custom-light: #a8a068; $custom-dark: #000000;
JSON
{
"hex": "#817a2a",
"rgb": {
"r": 129,
"g": 122,
"b": 42
},
"hsl": {
"h": 55.172,
"s": 50.877,
"l": 33.529
},
"oklch": {
"l": 0.56976,
"c": 0.10057,
"h": 104.3
},
"luminance": 0.18753
}Semantic roles & 50–950 ramp
primary
#817A2A
secondary
#575EAF
accent
#59DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A