#817915#817915
#817915 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.113 H 104.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #817915 |
|---|---|
| RGB | rgb(129, 121, 21) |
| HSL | hsl(56, 72%, 29%) |
| HSV | hsv(56, 84%, 51%) |
| CMYK | cmyk(0%, 6.2%, 83.7%, 49.4%) |
| CIE-LAB | lab(49.97, -8.14, 50.67) |
| CIE-LCH | lch(49.97, 51.32, 99.13°) |
| OKLab | oklab(56.6% -0.0284 0.1094) |
| OKLCH | oklch(56.6% 0.113 104.5) |
| XYZ | xyz(16.0267, 18.3967, 3.4160) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.18
Olive
#808000
ΔE00 3.52
Hazel
#8E7618
ΔE00 5.27
Olive (survey)
#6E750E
ΔE00 5.29
Baby Poop
#937C00
ΔE00 5.54
Brown Green
#706C11
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817915 #151D81
analogous
#814315 #817915 #538115
triadic
#817915 #158179 #791581
tetradic
#817915 #158143 #151D81 #811553
square
#817915 #158143 #151D81 #811553
split-complementary
#817915 #155381 #431581
monochromatic
#1A1904 #4C480C #817915 #B6AA1E #DED133
Accessibility & contrast
On white
4.49
#817915 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#817915 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #817915
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817915 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##817915 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #817915; /* rgb */ color: rgb(129, 121, 21); /* oklch */ color: oklch(56.6% 0.113 104.5);
Tailwind
colors: {
custom: {
50: '#a99f5d',
500: '#817915',
950: '#000000',
},
}SCSS
$custom: #817915; $custom-light: #a99f5d; $custom-dark: #000000;
JSON
{
"hex": "#817915",
"rgb": {
"r": 129,
"g": 121,
"b": 21
},
"hsl": {
"h": 55.556,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.56596,
"c": 0.11301,
"h": 104.5
},
"luminance": 0.18396
}Semantic roles & 50–950 ramp
primary
#817915
secondary
#3C45B6
accent
#47EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79