#817C1A#817C1A
#817C1A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.113 H 106.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #817C1A |
|---|---|
| RGB | rgb(129, 124, 26) |
| HSL | hsl(57, 66%, 30%) |
| HSV | hsv(57, 80%, 51%) |
| CMYK | cmyk(0%, 3.9%, 79.8%, 49.4%) |
| CIE-LAB | lab(50.87, -9.61, 49.89) |
| CIE-LCH | lch(50.87, 50.80, 100.90°) |
| OKLab | oklab(57.32% -0.032 0.1087) |
| OKLCH | oklch(57.32% 0.113 106.4) |
| XYZ | xyz(16.4481, 19.1576, 3.8085) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.61
Ugly Brown
#7D7103
ΔE00 4.50
Shit Green
#758000
ΔE00 4.64
Olive (survey)
#6E750E
ΔE00 5.09
Poop Green
#6F7C00
ΔE00 5.28
Murky Green
#6C7A0E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817C1A #1A1F81
analogous
#81481A #817C1A #53811A
triadic
#817C1A #1A817C #7C1A81
tetradic
#817C1A #1A8148 #1A1F81 #811A53
square
#817C1A #1A8148 #1A1F81 #811A53
split-complementary
#817C1A #1A5381 #481A81
monochromatic
#1B1A05 #4E4B10 #817C1A #B4AD24 #D8D03D
Accessibility & contrast
On white
4.35
#817C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#817C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817C1A
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817C1A | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #817c1a; /* rgb */ color: rgb(129, 124, 26); /* oklch */ color: oklch(57.3% 0.113 106.4);
Tailwind
colors: {
custom: {
50: '#a9a160',
500: '#817c1a',
950: '#000000',
},
}SCSS
$custom: #817c1a; $custom-light: #a9a160; $custom-dark: #000000;
JSON
{
"hex": "#817c1a",
"rgb": {
"r": 129,
"g": 124,
"b": 26
},
"hsl": {
"h": 57.087,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.57318,
"c": 0.11334,
"h": 106.4
},
"luminance": 0.19157
}Semantic roles & 50–950 ramp
primary
#817C1A
secondary
#4248B5
accent
#47E93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79