#817F2E#817F2E
#817F2E is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.103 H 107.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #817F2E |
|---|---|
| RGB | rgb(129, 127, 46) |
| HSL | hsl(59, 47%, 34%) |
| HSV | hsv(59, 64%, 51%) |
| CMYK | cmyk(0%, 1.6%, 64.3%, 49.4%) |
| CIE-LAB | lab(51.89, -10.15, 42.89) |
| CIE-LCH | lch(51.89, 44.07, 103.31°) |
| OKLab | oklab(58.17% -0.0314 0.0976) |
| OKLCH | oklch(58.17% 0.103 107.9) |
| XYZ | xyz(17.1363, 20.0436, 5.5504) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.83
Olive
#808000
ΔE00 4.27
Shit Green
#758000
ΔE00 5.12
Olive Drab
#6F7632
ΔE00 5.62
Poop Green
#6F7C00
ΔE00 5.72
Olive (survey)
#6E750E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817F2E #2E3081
analogous
#81562E #817F2E #5A812E
triadic
#817F2E #2E817F #7F2E81
tetradic
#817F2E #2E8156 #2E3081 #812E5A
square
#817F2E #2E8156 #2E3081 #812E5A
split-complementary
#817F2E #2E5A81 #562E81
monochromatic
#27260E #54531E #817F2E #AEAB3E #C7C562
Accessibility & contrast
On white
4.19
#817F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#817F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817F2E
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817F2E | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#8A776E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #817f2e; /* rgb */ color: rgb(129, 127, 46); /* oklch */ color: oklch(58.2% 0.103 107.9);
Tailwind
colors: {
custom: {
50: '#a8a36b',
500: '#817f2e',
950: '#000000',
},
}SCSS
$custom: #817f2e; $custom-light: #a8a36b; $custom-dark: #000000;
JSON
{
"hex": "#817f2e",
"rgb": {
"r": 129,
"g": 127,
"b": 46
},
"hsl": {
"h": 58.554,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.58173,
"c": 0.10254,
"h": 107.9
},
"luminance": 0.20043
}Semantic roles & 50–950 ramp
primary
#817F2E
secondary
#5D5FAE
accent
#54D751
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A