#817C2A#817C2A
#817C2A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.103 H 105.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #817C2A |
|---|---|
| RGB | rgb(129, 124, 42) |
| HSL | hsl(57, 51%, 34%) |
| HSV | hsv(57, 67%, 51%) |
| CMYK | cmyk(0%, 3.9%, 67.4%, 49.4%) |
| CIE-LAB | lab(50.98, -8.77, 43.73) |
| CIE-LCH | lch(50.98, 44.60, 101.34°) |
| OKLab | oklab(57.44% -0.028 0.0987) |
| OKLCH | oklch(57.44% 0.103 105.8) |
| XYZ | xyz(16.6794, 19.2502, 5.0271) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.27
Drab
#828344
ΔE00 4.80
Ugly Brown
#7D7103
ΔE00 5.30
Olive (survey)
#6E750E
ΔE00 5.41
Shit Green
#758000
ΔE00 5.55
Olive Drab
#6F7632
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817C2A #2A2F81
analogous
#81502A #817C2A #5A812A
triadic
#817C2A #2A817C #7C2A81
tetradic
#817C2A #2A8150 #2A2F81 #812A5A
square
#817C2A #2A8150 #2A2F81 #812A5A
split-complementary
#817C2A #2A5A81 #502A81
monochromatic
#25230C #53501B #817C2A #AFA839 #CAC35C
Accessibility & contrast
On white
4.33
#817C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#817C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817C2A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817C2A | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87771F
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #817c2a; /* rgb */ color: rgb(129, 124, 42); /* oklch */ color: oklch(57.4% 0.103 105.8);
Tailwind
colors: {
custom: {
50: '#a8a168',
500: '#817c2a',
950: '#000000',
},
}SCSS
$custom: #817c2a; $custom-light: #a8a168; $custom-dark: #000000;
JSON
{
"hex": "#817c2a",
"rgb": {
"r": 129,
"g": 124,
"b": 42
},
"hsl": {
"h": 56.552,
"s": 50.877,
"l": 33.529
},
"oklch": {
"l": 0.57438,
"c": 0.10262,
"h": 105.8
},
"luminance": 0.1925
}Semantic roles & 50–950 ramp
primary
#817C2A
secondary
#575CAF
accent
#56DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A