#817515#817515
#817515 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.109 H 101.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #817515 |
|---|---|
| RGB | rgb(129, 117, 21) |
| HSL | hsl(53, 72%, 29%) |
| HSV | hsv(53, 84%, 51%) |
| CMYK | cmyk(0%, 9.3%, 83.7%, 49.4%) |
| CIE-LAB | lab(48.82, -5.91, 49.66) |
| CIE-LCH | lch(48.82, 50.01, 96.78°) |
| OKLab | oklab(55.68% -0.0221 0.1072) |
| OKLCH | oklch(55.68% 0.109 101.7) |
| XYZ | xyz(15.5507, 17.4446, 3.2574) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.81
Hazel
#8E7618
ΔE00 4.18
Brown Green
#706C11
ΔE00 4.86
Browny Green
#6F6C0A
ΔE00 5.03
Olive
#808000
ΔE00 5.29
Poo
#8F7303
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817515 #152181
analogous
#813F15 #817515 #578115
triadic
#817515 #158175 #751581
tetradic
#817515 #15813F #152181 #811557
square
#817515 #15813F #152181 #811557
split-complementary
#817515 #155781 #3F1581
monochromatic
#1A1804 #4C450C #817515 #B6A51E #DECB33
Accessibility & contrast
On white
4.68
#817515 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#817515 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #817515
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##817515 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#8C6C64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #817515; /* rgb */ color: rgb(129, 117, 21); /* oklch */ color: oklch(55.7% 0.109 101.7);
Tailwind
colors: {
custom: {
50: '#a99c5d',
500: '#817515',
950: '#000000',
},
}SCSS
$custom: #817515; $custom-light: #a99c5d; $custom-dark: #000000;
JSON
{
"hex": "#817515",
"rgb": {
"r": 129,
"g": 117,
"b": 21
},
"hsl": {
"h": 53.333,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.55675,
"c": 0.10948,
"h": 101.7
},
"luminance": 0.17444
}Semantic roles & 50–950 ramp
primary
#817515
secondary
#3C4AB6
accent
#4DEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79