#81771B#81771B
#81771B is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.2% C 0.108 H 102.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #81771B |
|---|---|
| RGB | rgb(129, 119, 27) |
| HSL | hsl(54, 65%, 31%) |
| HSV | hsv(54, 79%, 51%) |
| CMYK | cmyk(0%, 7.8%, 79.1%, 49.4%) |
| CIE-LAB | lab(49.42, -6.80, 48.23) |
| CIE-LCH | lch(49.42, 48.70, 98.02°) |
| OKLab | oklab(56.17% -0.0241 0.1054) |
| OKLCH | oklch(56.17% 0.108 102.9) |
| XYZ | xyz(15.8486, 17.9406, 3.6648) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Olive
#808000
ΔE00 4.66
Hazel
#8E7618
ΔE00 4.67
Brown Green
#706C11
ΔE00 5.07
Browny Green
#6F6C0A
ΔE00 5.25
Olive (survey)
#6E750E
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81771B #1B2581
analogous
#81441B #81771B #58811B
triadic
#81771B #1B8177 #771B81
tetradic
#81771B #1B8144 #1B2581 #811B58
square
#81771B #1B8144 #1B2581 #811B58
split-complementary
#81771B #1B5881 #441B81
monochromatic
#1C1A06 #4E4810 #81771B #B4A626 #D7C83F
Accessibility & contrast
On white
4.58
#81771B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#81771B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81771B
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81771B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81771B | 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)
#837306
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #81771b; /* rgb */ color: rgb(129, 119, 27); /* oklch */ color: oklch(56.2% 0.108 102.9);
Tailwind
colors: {
custom: {
50: '#a99d60',
500: '#81771b',
950: '#000000',
},
}SCSS
$custom: #81771b; $custom-light: #a99d60; $custom-dark: #000000;
JSON
{
"hex": "#81771b",
"rgb": {
"r": 129,
"g": 119,
"b": 27
},
"hsl": {
"h": 54.118,
"s": 65.385,
"l": 30.588
},
"oklch": {
"l": 0.56168,
"c": 0.10809,
"h": 102.9
},
"luminance": 0.1794
}Semantic roles & 50–950 ramp
primary
#81771B
secondary
#434EB5
accent
#50E83F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79