#817C1F#817C1F
#817C1F is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.110 H 106.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #817C1F |
|---|---|
| RGB | rgb(129, 124, 31) |
| HSL | hsl(57, 61%, 31%) |
| HSV | hsv(57, 76%, 51%) |
| CMYK | cmyk(0%, 3.9%, 76%, 49.4%) |
| CIE-LAB | lab(50.90, -9.39, 48.15) |
| CIE-LCH | lch(50.90, 49.06, 101.03°) |
| OKLab | oklab(57.35% -0.0309 0.106) |
| OKLCH | oklch(57.35% 0.11 106.3) |
| XYZ | xyz(16.5089, 19.1820, 4.1289) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.02
Ugly Brown
#7D7103
ΔE00 4.65
Shit Green
#758000
ΔE00 4.82
Olive (survey)
#6E750E
ΔE00 5.10
Poop Green
#6F7C00
ΔE00 5.39
Murky Green
#6C7A0E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817C1F #1F2481
analogous
#814B1F #817C1F #55811F
triadic
#817C1F #1F817C #7C1F81
tetradic
#817C1F #1F814B #1F2481 #811F55
square
#817C1F #1F814B #1F2481 #811F55
split-complementary
#817C1F #1F5581 #4B1F81
monochromatic
#1E1D07 #504D13 #817C1F #B2AB2B #D3CC47
Accessibility & contrast
On white
4.34
#817C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#817C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817C1F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817C1F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #817c1f; /* rgb */ color: rgb(129, 124, 31); /* oklch */ color: oklch(57.4% 0.110 106.3);
Tailwind
colors: {
custom: {
50: '#a9a162',
500: '#817c1f',
950: '#000000',
},
}SCSS
$custom: #817c1f; $custom-light: #a9a162; $custom-dark: #000000;
JSON
{
"hex": "#817c1f",
"rgb": {
"r": 129,
"g": 124,
"b": 31
},
"hsl": {
"h": 56.939,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.5735,
"c": 0.11045,
"h": 106.3
},
"luminance": 0.19181
}Semantic roles & 50–950 ramp
primary
#817C1F
secondary
#484DB4
accent
#4CE443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A