#81841F#81841F
#81841F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.2% C 0.119 H 111.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #81841F |
|---|---|
| RGB | rgb(129, 132, 31) |
| HSL | hsl(62, 62%, 32%) |
| HSV | hsv(62, 77%, 52%) |
| CMYK | cmyk(2.3%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(53.24, -13.73, 50.35) |
| CIE-LCH | lch(53.24, 52.19, 105.25°) |
| OKLab | oklab(59.22% -0.0431 0.1107) |
| OKLCH | oklch(59.22% 0.119 111.3) |
| XYZ | xyz(17.5524, 21.2690, 4.4768) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.59
Shit Green
#758000
ΔE00 3.28
Swamp Green
#748500
ΔE00 3.85
Poop Green
#6F7C00
ΔE00 4.75
Murky Green
#6C7A0E
ΔE00 5.56
Drab
#828344
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81841F #221F84
analogous
#84551F #81841F #4F841F
triadic
#81841F #1F8184 #841F81
tetradic
#81841F #1F8455 #221F84 #841F4F
square
#81841F #1F8455 #221F84 #841F4F
split-complementary
#81841F #1F4F84 #551F84
monochromatic
#202108 #515213 #81841F #B1B62B #D0D449
Accessibility & contrast
On white
4.00
#81841F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#81841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81841F
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81841F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81841F | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #81841f; /* rgb */ color: rgb(129, 132, 31); /* oklch */ color: oklch(59.2% 0.119 111.3);
Tailwind
colors: {
custom: {
50: '#a9a763',
500: '#81841f',
950: '#000000',
},
}SCSS
$custom: #81841f; $custom-light: #a9a763; $custom-dark: #000000;
JSON
{
"hex": "#81841f",
"rgb": {
"r": 129,
"g": 132,
"b": 31
},
"hsl": {
"h": 61.782,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.59221,
"c": 0.11878,
"h": 111.3
},
"luminance": 0.21269
}Semantic roles & 50–950 ramp
primary
#81841F
secondary
#4B48B7
accent
#43E548
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A