#81771F#81771F
#81771F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.106 H 102.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #81771F |
|---|---|
| RGB | rgb(129, 119, 31) |
| HSL | hsl(54, 61%, 31%) |
| HSV | hsv(54, 76%, 51%) |
| CMYK | cmyk(0%, 7.8%, 76%, 49.4%) |
| CIE-LAB | lab(49.45, -6.61, 46.77) |
| CIE-LCH | lch(49.45, 47.24, 98.05°) |
| OKLab | oklab(56.19% -0.0231 0.1031) |
| OKLCH | oklch(56.19% 0.106 102.6) |
| XYZ | xyz(15.8981, 17.9604, 3.9253) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.94
Hazel
#8E7618
ΔE00 4.72
Olive
#808000
ΔE00 4.91
Brown Green
#706C11
ΔE00 5.07
Browny Green
#6F6C0A
ΔE00 5.29
Olive (survey)
#6E750E
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81771F #1F2981
analogous
#81461F #81771F #5A811F
triadic
#81771F #1F8177 #771F81
tetradic
#81771F #1F8146 #1F2981 #811F5A
square
#81771F #1F8146 #1F2981 #811F5A
split-complementary
#81771F #1F5A81 #461F81
monochromatic
#1E1C07 #504913 #81771F #B2A52B #D3C547
Accessibility & contrast
On white
4.57
#81771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#81771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81771F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81771F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81771F | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#857825
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #81771f; /* rgb */ color: rgb(129, 119, 31); /* oklch */ color: oklch(56.2% 0.106 102.6);
Tailwind
colors: {
custom: {
50: '#a99d62',
500: '#81771f',
950: '#000000',
},
}SCSS
$custom: #81771f; $custom-light: #a99d62; $custom-dark: #000000;
JSON
{
"hex": "#81771f",
"rgb": {
"r": 129,
"g": 119,
"b": 31
},
"hsl": {
"h": 53.878,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.56195,
"c": 0.10566,
"h": 102.6
},
"luminance": 0.1796
}Semantic roles & 50–950 ramp
primary
#81771F
secondary
#4853B4
accent
#54E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A