#81771A#81771A
#81771A is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.2% C 0.109 H 102.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #81771A |
|---|---|
| RGB | rgb(129, 119, 26) |
| HSL | hsl(54, 66%, 30%) |
| HSV | hsv(54, 80%, 51%) |
| CMYK | cmyk(0%, 7.8%, 79.8%, 49.4%) |
| CIE-LAB | lab(49.42, -6.84, 48.57) |
| CIE-LCH | lch(49.42, 49.05, 98.01°) |
| OKLab | oklab(56.16% -0.0243 0.1059) |
| OKLCH | oklch(56.16% 0.109 102.9) |
| XYZ | xyz(15.8373, 17.9361, 3.6049) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.62
Olive
#808000
ΔE00 4.60
Hazel
#8E7618
ΔE00 4.67
Brown Green
#706C11
ΔE00 5.08
Browny Green
#6F6C0A
ΔE00 5.24
Baby Poop
#937C00
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81771A #1A2481
analogous
#81441A #81771A #57811A
triadic
#81771A #1A8177 #771A81
tetradic
#81771A #1A8144 #1A2481 #811A57
square
#81771A #1A8144 #1A2481 #811A57
split-complementary
#81771A #1A5781 #441A81
monochromatic
#1B1905 #4E4810 #81771A #B4A624 #D8C93D
Accessibility & contrast
On white
4.58
#81771A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#81771A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81771A
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81771A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81771A | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 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)
#837304
Deuteranopia (green-blind)
#867721
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #81771a; /* rgb */ color: rgb(129, 119, 26); /* oklch */ color: oklch(56.2% 0.109 102.9);
Tailwind
colors: {
custom: {
50: '#a99d5f',
500: '#81771a',
950: '#000000',
},
}SCSS
$custom: #81771a; $custom-light: #a99d5f; $custom-dark: #000000;
JSON
{
"hex": "#81771a",
"rgb": {
"r": 129,
"g": 119,
"b": 26
},
"hsl": {
"h": 54.175,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.56162,
"c": 0.10866,
"h": 102.9
},
"luminance": 0.17935
}Semantic roles & 50–950 ramp
primary
#81771A
secondary
#424DB5
accent
#4FE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79