#817E1B#817E1B
#817E1B 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 | #817E1B |
|---|---|
| RGB | rgb(129, 126, 27) |
| HSL | hsl(58, 65%, 31%) |
| HSV | hsv(58, 79%, 51%) |
| CMYK | cmyk(0%, 2.3%, 79.1%, 49.4%) |
| CIE-LAB | lab(51.46, -10.66, 50.09) |
| CIE-LCH | lch(51.46, 51.21, 102.02°) |
| OKLab | oklab(57.79% -0.0349 0.1094) |
| OKLCH | oklch(57.79% 0.115 107.7) |
| XYZ | xyz(16.7126, 19.6685, 3.9528) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.10
Shit Green
#758000
ΔE00 4.05
Poop Green
#6F7C00
ΔE00 4.90
Olive (survey)
#6E750E
ΔE00 5.19
Ugly Brown
#7D7103
ΔE00 5.34
Murky Green
#6C7A0E
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817E1B #1B1E81
analogous
#814B1B #817E1B #51811B
triadic
#817E1B #1B817E #7E1B81
tetradic
#817E1B #1B814B #1B1E81 #811B51
square
#817E1B #1B814B #1B1E81 #811B51
split-complementary
#817E1B #1B5181 #4B1B81
monochromatic
#1C1B06 #4E4D10 #817E1B #B4AF26 #D7D23F
Accessibility & contrast
On white
4.26
#817E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#817E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817E1B
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817E1B | 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)
#897902
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#8B756C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #817e1b; /* rgb */ color: rgb(129, 126, 27); /* oklch */ color: oklch(57.8% 0.115 107.7);
Tailwind
colors: {
custom: {
50: '#a9a361',
500: '#817e1b',
950: '#000000',
},
}SCSS
$custom: #817e1b; $custom-light: #a9a361; $custom-dark: #000000;
JSON
{
"hex": "#817e1b",
"rgb": {
"r": 129,
"g": 126,
"b": 27
},
"hsl": {
"h": 58.235,
"s": 65.385,
"l": 30.588
},
"oklch": {
"l": 0.5779,
"c": 0.11478,
"h": 107.7
},
"luminance": 0.19668
}Semantic roles & 50–950 ramp
primary
#817E1B
secondary
#4347B5
accent
#44E83F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A