#816E1F#816E1F
#816E1F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.098 H 95.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #816E1F |
|---|---|
| RGB | rgb(129, 110, 31) |
| HSL | hsl(48, 61%, 31%) |
| HSV | hsv(48, 76%, 51%) |
| CMYK | cmyk(0%, 14.7%, 76%, 49.4%) |
| CIE-LAB | lab(46.87, -1.52, 44.29) |
| CIE-LCH | lch(46.87, 44.32, 91.96°) |
| OKLab | oklab(54.15% -0.0087 0.0978) |
| OKLCH | oklch(54.15% 0.098 95.1) |
| XYZ | xyz(14.8773, 15.9187, 3.5851) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.76
Hazel
#8E7618
ΔE00 4.18
Muddy Brown
#886806
ΔE00 4.75
Poo
#8F7303
ΔE00 4.78
Brown Green
#706C11
ΔE00 5.54
Browny Green
#6F6C0A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#816E1F #1F3281
analogous
#813D1F #816E1F #63811F
triadic
#816E1F #1F816E #6E1F81
tetradic
#816E1F #1F813D #1F3281 #811F63
square
#816E1F #1F813D #1F3281 #811F63
split-complementary
#816E1F #1F6381 #3D1F81
monochromatic
#1E1A07 #504413 #816E1F #B2982B #D3B847
Accessibility & contrast
On white
5.02
#816E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#816E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #816E1F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##816E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##816E1F | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #816e1f; /* rgb */ color: rgb(129, 110, 31); /* oklch */ color: oklch(54.1% 0.098 95.1);
Tailwind
colors: {
custom: {
50: '#a99761',
500: '#816e1f',
950: '#000000',
},
}SCSS
$custom: #816e1f; $custom-light: #a99761; $custom-dark: #000000;
JSON
{
"hex": "#816e1f",
"rgb": {
"r": 129,
"g": 110,
"b": 31
},
"hsl": {
"h": 48.367,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.54149,
"c": 0.09823,
"h": 95.1
},
"luminance": 0.15918
}Semantic roles & 50–950 ramp
primary
#816E1F
secondary
#485DB4
accent
#63E443
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79