#817E1A#817E1A
#817E1A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.115 H 107.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #817E1A |
|---|---|
| RGB | rgb(129, 126, 26) |
| HSL | hsl(58, 66%, 30%) |
| HSV | hsv(58, 80%, 51%) |
| CMYK | cmyk(0%, 2.3%, 79.8%, 49.4%) |
| CIE-LAB | lab(51.46, -10.70, 50.41) |
| CIE-LCH | lch(51.46, 51.54, 101.99°) |
| OKLab | oklab(57.78% -0.0351 0.1099) |
| OKLCH | oklch(57.78% 0.115 107.7) |
| XYZ | xyz(16.7012, 19.6640, 3.8929) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.01
Shit Green
#758000
ΔE00 4.02
Poop Green
#6F7C00
ΔE00 4.89
Olive (survey)
#6E750E
ΔE00 5.19
Ugly Brown
#7D7103
ΔE00 5.32
Swamp Green
#748500
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817E1A #1A1D81
analogous
#814A1A #817E1A #51811A
triadic
#817E1A #1A817E #7E1A81
tetradic
#817E1A #1A814A #1A1D81 #811A51
square
#817E1A #1A814A #1A1D81 #811A51
split-complementary
#817E1A #1A5181 #4A1A81
monochromatic
#1B1A05 #4E4C10 #817E1A #B4B024 #D8D33D
Accessibility & contrast
On white
4.26
#817E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#817E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817E1A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817E1A | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#8B756B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #817e1a; /* rgb */ color: rgb(129, 126, 26); /* oklch */ color: oklch(57.8% 0.115 107.7);
Tailwind
colors: {
custom: {
50: '#a9a360',
500: '#817e1a',
950: '#000000',
},
}SCSS
$custom: #817e1a; $custom-light: #a9a360; $custom-dark: #000000;
JSON
{
"hex": "#817e1a",
"rgb": {
"r": 129,
"g": 126,
"b": 26
},
"hsl": {
"h": 58.252,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.57784,
"c": 0.11532,
"h": 107.7
},
"luminance": 0.19663
}Semantic roles & 50–950 ramp
primary
#817E1A
secondary
#4245B5
accent
#43E93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79