#817C1C#817C1C
#817C1C is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.112 H 106.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #817C1C |
|---|---|
| RGB | rgb(129, 124, 28) |
| HSL | hsl(57, 64%, 31%) |
| HSV | hsv(57, 78%, 51%) |
| CMYK | cmyk(0%, 3.9%, 78.3%, 49.4%) |
| CIE-LAB | lab(50.88, -9.52, 49.22) |
| CIE-LCH | lch(50.88, 50.13, 100.95°) |
| OKLab | oklab(57.33% -0.0316 0.1077) |
| OKLCH | oklch(57.33% 0.112 106.4) |
| XYZ | xyz(16.4712, 19.1669, 3.9303) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.76
Ugly Brown
#7D7103
ΔE00 4.55
Shit Green
#758000
ΔE00 4.70
Olive (survey)
#6E750E
ΔE00 5.09
Poop Green
#6F7C00
ΔE00 5.31
Murky Green
#6C7A0E
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817C1C #1C2181
analogous
#81491C #817C1C #53811C
triadic
#817C1C #1C817C #7C1C81
tetradic
#817C1C #1C8149 #1C2181 #811C53
square
#817C1C #1C8149 #1C2181 #811C53
split-complementary
#817C1C #1C5381 #491C81
monochromatic
#1C1B06 #4F4C11 #817C1C #B3AC27 #D6CF42
Accessibility & contrast
On white
4.34
#817C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#817C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817C1C
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817C1C | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 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)
#877705
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #817c1c; /* rgb */ color: rgb(129, 124, 28); /* oklch */ color: oklch(57.3% 0.112 106.4);
Tailwind
colors: {
custom: {
50: '#a9a161',
500: '#817c1c',
950: '#000000',
},
}SCSS
$custom: #817c1c; $custom-light: #a9a161; $custom-dark: #000000;
JSON
{
"hex": "#817c1c",
"rgb": {
"r": 129,
"g": 124,
"b": 28
},
"hsl": {
"h": 57.03,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.5733,
"c": 0.11224,
"h": 106.4
},
"luminance": 0.19166
}Semantic roles & 50–950 ramp
primary
#817C1C
secondary
#444AB4
accent
#49E740
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A