#817315#817315
#817315 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.108 H 100.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #817315 |
|---|---|
| RGB | rgb(129, 115, 21) |
| HSL | hsl(52, 72%, 29%) |
| HSV | hsv(52, 84%, 51%) |
| CMYK | cmyk(0%, 10.9%, 83.7%, 49.4%) |
| CIE-LAB | lab(48.24, -4.78, 49.16) |
| CIE-LCH | lch(48.24, 49.39, 95.56°) |
| OKLab | oklab(55.22% -0.019 0.1061) |
| OKLCH | oklch(55.22% 0.108 100.1) |
| XYZ | xyz(15.3201, 16.9835, 3.1805) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.57
Hazel
#8E7618
ΔE00 3.83
Brown Green
#706C11
ΔE00 4.76
Poo
#8F7303
ΔE00 4.83
Browny Green
#6F6C0A
ΔE00 4.98
Baby Poop
#937C00
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817315 #152381
analogous
#813D15 #817315 #598115
triadic
#817315 #158173 #731581
tetradic
#817315 #15813D #152381 #811559
square
#817315 #15813D #152381 #811559
split-complementary
#817315 #155981 #3D1581
monochromatic
#1A1704 #4C440C #817315 #B6A21E #DEC833
Accessibility & contrast
On white
4.78
#817315 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#817315 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #817315
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##817315 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #817315; /* rgb */ color: rgb(129, 115, 21); /* oklch */ color: oklch(55.2% 0.108 100.1);
Tailwind
colors: {
custom: {
50: '#a99a5c',
500: '#817315',
950: '#000000',
},
}SCSS
$custom: #817315; $custom-light: #a99a5c; $custom-dark: #000000;
JSON
{
"hex": "#817315",
"rgb": {
"r": 129,
"g": 115,
"b": 21
},
"hsl": {
"h": 52.222,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.55217,
"c": 0.10781,
"h": 100.1
},
"luminance": 0.16983
}Semantic roles & 50–950 ramp
primary
#817315
secondary
#3C4CB6
accent
#51EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79