#817A4A#817A4A
#817A4A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.068 H 101.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #817A4A |
|---|---|
| RGB | rgb(129, 122, 74) |
| HSL | hsl(52, 27%, 40%) |
| HSV | hsv(52, 43%, 51%) |
| CMYK | cmyk(0%, 5.4%, 42.6%, 49.4%) |
| CIE-LAB | lab(50.78, -4.77, 27.22) |
| CIE-LCH | lch(50.78, 27.63, 99.94°) |
| OKLab | oklab(57.4% -0.0129 0.0663) |
| OKLCH | oklch(57.4% 0.068 101) |
| XYZ | xyz(17.2492, 19.0811, 9.2516) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.89
Olive Drab
#6F7632
ΔE00 6.73
Brown Grey
#8D8468
ΔE00 7.44
Grey Brown
#7F7053
ΔE00 7.59
Dark Khaki
#9B8F55
ΔE00 8.36
Brownish Grey
#86775F
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817A4A #4A5181
analogous
#815F4A #817A4A #6C814A
triadic
#817A4A #4A817A #7A4A81
tetradic
#817A4A #4A815F #4A5181 #814A6C
square
#817A4A #4A815F #4A5181 #814A6C
split-complementary
#817A4A #4A6C81 #5F4A81
monochromatic
#33301D #5A5534 #817A4A #A59D63 #BCB58A
Accessibility & contrast
On white
4.36
#817A4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#817A4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817A4A
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817A4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817A4A | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 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)
#827746
Deuteranopia (green-blind)
#847A4C
Tritanopia (blue-blind)
#89746E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #817a4a; /* rgb */ color: rgb(129, 122, 74); /* oklch */ color: oklch(57.4% 0.068 101.0);
Tailwind
colors: {
custom: {
50: '#a7a07d',
500: '#817a4a',
950: '#000000',
},
}SCSS
$custom: #817a4a; $custom-light: #a7a07d; $custom-dark: #000000;
JSON
{
"hex": "#817a4a",
"rgb": {
"r": 129,
"g": 122,
"b": 74
},
"hsl": {
"h": 52.364,
"s": 27.094,
"l": 39.804
},
"oklch": {
"l": 0.57405,
"c": 0.06755,
"h": 101
},
"luminance": 0.19081
}Semantic roles & 50–950 ramp
primary
#817A4A
secondary
#7F84A8
accent
#70C364
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B