#81841B#81841B
#81841B is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.121 H 111.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #81841B |
|---|---|
| RGB | rgb(129, 132, 27) |
| HSL | hsl(62, 66%, 31%) |
| HSV | hsv(62, 80%, 52%) |
| CMYK | cmyk(2.3%, 0%, 79.5%, 48.2%) |
| CIE-LAB | lab(53.22, -13.90, 51.68) |
| CIE-LCH | lch(53.22, 53.52, 105.06°) |
| OKLab | oklab(59.2% -0.0439 0.1128) |
| OKLCH | oklch(59.2% 0.121 111.3) |
| XYZ | xyz(17.5030, 21.2493, 4.2162) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.27
Shit Green
#758000
ΔE00 3.13
Swamp Green
#748500
ΔE00 3.73
Poop Green
#6F7C00
ΔE00 4.69
Murky Green
#6C7A0E
ΔE00 5.59
Drab
#828344
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81841B #1E1B84
analogous
#84521B #81841B #4C841B
triadic
#81841B #1B8184 #841B81
tetradic
#81841B #1B8452 #1E1B84 #841B4C
square
#81841B #1B8452 #1E1B84 #841B4C
split-complementary
#81841B #1B4C84 #521B84
monochromatic
#1E1E06 #4F5111 #81841B #B3B725 #D4D841
Accessibility & contrast
On white
4.00
#81841B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#81841B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81841B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81841B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81841B | 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)
#8F7E00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #81841b; /* rgb */ color: rgb(129, 132, 27); /* oklch */ color: oklch(59.2% 0.121 111.3);
Tailwind
colors: {
custom: {
50: '#a9a761',
500: '#81841b',
950: '#000000',
},
}SCSS
$custom: #81841b; $custom-light: #a9a761; $custom-dark: #000000;
JSON
{
"hex": "#81841b",
"rgb": {
"r": 129,
"g": 132,
"b": 27
},
"hsl": {
"h": 61.714,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.59197,
"c": 0.12101,
"h": 111.3
},
"luminance": 0.21249
}Semantic roles & 50–950 ramp
primary
#81841B
secondary
#4743B7
accent
#3FE944
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A