#817219#817219
#817219 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.105 H 99.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #817219 |
|---|---|
| RGB | rgb(129, 114, 25) |
| HSL | hsl(51, 68%, 30%) |
| HSV | hsv(51, 81%, 51%) |
| CMYK | cmyk(0%, 11.6%, 80.6%, 49.4%) |
| CIE-LAB | lab(47.97, -4.07, 47.60) |
| CIE-LCH | lch(47.97, 47.78, 94.88°) |
| OKLab | oklab(55.01% -0.0166 0.1036) |
| OKLCH | oklch(55.01% 0.105 99.1) |
| XYZ | xyz(15.2468, 16.7727, 3.3539) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.98
Hazel
#8E7618
ΔE00 3.75
Poo
#8F7303
ΔE00 4.74
Brown Green
#706C11
ΔE00 4.77
Browny Green
#6F6C0A
ΔE00 5.06
Puke Brown
#947706
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#817219 #192881
analogous
#813E19 #817219 #5C8119
triadic
#817219 #198172 #721981
tetradic
#817219 #19813E #192881 #81195C
square
#817219 #19813E #192881 #81195C
split-complementary
#817219 #195C81 #3E1981
monochromatic
#1A1705 #4E450F #817219 #B49F23 #D9C23B
Accessibility & contrast
On white
4.82
#817219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#817219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #817219
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##817219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##817219 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #817219; /* rgb */ color: rgb(129, 114, 25); /* oklch */ color: oklch(55.0% 0.105 99.1);
Tailwind
colors: {
custom: {
50: '#a99a5e',
500: '#817219',
950: '#000000',
},
}SCSS
$custom: #817219; $custom-light: #a99a5e; $custom-dark: #000000;
JSON
{
"hex": "#817219",
"rgb": {
"r": 129,
"g": 114,
"b": 25
},
"hsl": {
"h": 51.346,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.55012,
"c": 0.10495,
"h": 99.1
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#817219
secondary
#4152B5
accent
#56EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79