#817A1A#817A1A
#817A1A is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.111 H 105.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #817A1A |
|---|---|
| RGB | rgb(129, 122, 26) |
| HSL | hsl(56, 66%, 30%) |
| HSV | hsv(56, 80%, 51%) |
| CMYK | cmyk(0%, 5.4%, 79.8%, 49.4%) |
| CIE-LAB | lab(50.29, -8.50, 49.36) |
| CIE-LCH | lch(50.29, 50.09, 99.78°) |
| OKLab | oklab(56.85% -0.0289 0.1076) |
| OKLCH | oklch(56.85% 0.111 105.1) |
| XYZ | xyz(16.2000, 18.6614, 3.7258) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.35
Ugly Brown
#7D7103
ΔE00 3.70
Olive (survey)
#6E750E
ΔE00 5.16
Shit Green
#758000
ΔE00 5.36
Hazel
#8E7618
ΔE00 5.58
Brown Green
#706C11
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817A1A #1A2181
analogous
#81461A #817A1A #55811A
triadic
#817A1A #1A817A #7A1A81
tetradic
#817A1A #1A8146 #1A2181 #811A55
square
#817A1A #1A8146 #1A2181 #811A55
split-complementary
#817A1A #1A5581 #461A81
monochromatic
#1B1A05 #4E4A10 #817A1A #B4AA24 #D8CD3D
Accessibility & contrast
On white
4.44
#817A1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#817A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817A1A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817A1A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #817a1a; /* rgb */ color: rgb(129, 122, 26); /* oklch */ color: oklch(56.9% 0.111 105.1);
Tailwind
colors: {
custom: {
50: '#a9a060',
500: '#817a1a',
950: '#000000',
},
}SCSS
$custom: #817a1a; $custom-light: #a9a060; $custom-dark: #000000;
JSON
{
"hex": "#817a1a",
"rgb": {
"r": 129,
"g": 122,
"b": 26
},
"hsl": {
"h": 55.922,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.56854,
"c": 0.11143,
"h": 105.1
},
"luminance": 0.18661
}Semantic roles & 50–950 ramp
primary
#817A1A
secondary
#424AB5
accent
#4AE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79