#81812E#81812E
#81812E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.105 H 109.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #81812E |
|---|---|
| RGB | rgb(129, 129, 46) |
| HSL | hsl(60, 47%, 34%) |
| HSV | hsv(60, 64%, 51%) |
| CMYK | cmyk(0%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(52.47, -11.24, 43.51) |
| CIE-LCH | lch(52.47, 44.94, 104.49°) |
| OKLab | oklab(58.64% -0.0345 0.0989) |
| OKLCH | oklch(58.64% 0.105 109.2) |
| XYZ | xyz(17.3972, 20.5654, 5.6373) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.72
Olive
#808000
ΔE00 4.12
Shit Green
#758000
ΔE00 4.73
Poop Green
#6F7C00
ΔE00 5.51
Swamp Green
#748500
ΔE00 5.62
Murky Green
#6C7A0E
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81812E #2E2E81
analogous
#81582E #81812E #58812E
triadic
#81812E #2E8181 #812E81
tetradic
#81812E #2E8158 #2E2E81 #812E58
square
#81812E #2E8158 #2E2E81 #812E58
split-complementary
#81812E #2E5881 #582E81
monochromatic
#27270E #54541E #81812E #AEAE3E #C7C762
Accessibility & contrast
On white
4.11
#81812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#81812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81812E
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81812E | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#8A7970
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #81812e; /* rgb */ color: rgb(129, 129, 46); /* oklch */ color: oklch(58.6% 0.105 109.2);
Tailwind
colors: {
custom: {
50: '#a8a56b',
500: '#81812e',
950: '#000000',
},
}SCSS
$custom: #81812e; $custom-light: #a8a56b; $custom-dark: #000000;
JSON
{
"hex": "#81812e",
"rgb": {
"r": 129,
"g": 129,
"b": 46
},
"hsl": {
"h": 60,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.58639,
"c": 0.10476,
"h": 109.2
},
"luminance": 0.20565
}Semantic roles & 50–950 ramp
primary
#81812E
secondary
#5D5DAE
accent
#51D751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A