#81842E#81842E
#81842E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.108 H 111.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #81842E |
|---|---|
| RGB | rgb(129, 132, 46) |
| HSL | hsl(62, 48%, 35%) |
| HSV | hsv(62, 65%, 52%) |
| CMYK | cmyk(2.3%, 0%, 65.2%, 48.2%) |
| CIE-LAB | lab(53.35, -12.86, 44.44) |
| CIE-LCH | lch(53.35, 46.27, 106.14°) |
| OKLab | oklab(59.34% -0.0391 0.1009) |
| OKLCH | oklch(59.34% 0.108 111.2) |
| XYZ | xyz(17.7982, 21.3673, 5.7710) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.93
Olive
#808000
ΔE00 4.25
Shit Green
#758000
ΔE00 4.45
Swamp Green
#748500
ΔE00 4.86
Khaki Green
#728639
ΔE00 5.38
Poop Green
#6F7C00
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81842E #312E84
analogous
#845C2E #81842E #56842E
triadic
#81842E #2E8184 #842E81
tetradic
#81842E #2E845C #312E84 #842E56
square
#81842E #2E845C #312E84 #842E56
split-complementary
#81842E #2E5684 #5C2E84
monochromatic
#28290E #55571E #81842E #ADB13E #C5C964
Accessibility & contrast
On white
3.98
#81842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#81842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81842E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81842E | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#8A7C72
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #81842e; /* rgb */ color: rgb(129, 132, 46); /* oklch */ color: oklch(59.3% 0.108 111.2);
Tailwind
colors: {
custom: {
50: '#a8a76b',
500: '#81842e',
950: '#000000',
},
}SCSS
$custom: #81842e; $custom-light: #a8a76b; $custom-dark: #000000;
JSON
{
"hex": "#81842e",
"rgb": {
"r": 129,
"g": 132,
"b": 46
},
"hsl": {
"h": 62.093,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.5934,
"c": 0.10819,
"h": 111.2
},
"luminance": 0.21367
}Semantic roles & 50–950 ramp
primary
#81842E
secondary
#615EB0
accent
#50D855
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A