#81771C#81771C
#81771C is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.2% C 0.108 H 102.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #81771C |
|---|---|
| RGB | rgb(129, 119, 28) |
| HSL | hsl(54, 64%, 31%) |
| HSV | hsv(54, 78%, 51%) |
| CMYK | cmyk(0%, 7.8%, 78.3%, 49.4%) |
| CIE-LAB | lab(49.43, -6.75, 47.87) |
| CIE-LCH | lch(49.43, 48.35, 98.03°) |
| OKLab | oklab(56.18% -0.0238 0.1048) |
| OKLCH | oklch(56.18% 0.108 102.8) |
| XYZ | xyz(15.8604, 17.9453, 3.7267) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.74
Hazel
#8E7618
ΔE00 4.68
Olive
#808000
ΔE00 4.71
Brown Green
#706C11
ΔE00 5.07
Browny Green
#6F6C0A
ΔE00 5.25
Olive (survey)
#6E750E
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81771C #1C2681
analogous
#81441C #81771C #58811C
triadic
#81771C #1C8177 #771C81
tetradic
#81771C #1C8144 #1C2681 #811C58
square
#81771C #1C8144 #1C2681 #811C58
split-complementary
#81771C #1C5881 #441C81
monochromatic
#1C1A06 #4F4911 #81771C #B3A527 #D6C742
Accessibility & contrast
On white
4.58
#81771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#81771C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81771C
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81771C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81771C | 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)
#837308
Deuteranopia (green-blind)
#867723
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #81771c; /* rgb */ color: rgb(129, 119, 28); /* oklch */ color: oklch(56.2% 0.108 102.8);
Tailwind
colors: {
custom: {
50: '#a99d60',
500: '#81771c',
950: '#000000',
},
}SCSS
$custom: #81771c; $custom-light: #a99d60; $custom-dark: #000000;
JSON
{
"hex": "#81771c",
"rgb": {
"r": 129,
"g": 119,
"b": 28
},
"hsl": {
"h": 54.059,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.56175,
"c": 0.10751,
"h": 102.8
},
"luminance": 0.17945
}Semantic roles & 50–950 ramp
primary
#81771C
secondary
#444FB4
accent
#51E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79