#8E822D#8E822D
#8E822D is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.105 H 101.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8E822D |
|---|---|
| RGB | rgb(142, 130, 45) |
| HSL | hsl(53, 52%, 37%) |
| HSV | hsv(53, 68%, 56%) |
| CMYK | cmyk(0%, 8.5%, 68.3%, 44.3%) |
| CIE-LAB | lab(53.93, -5.95, 45.85) |
| CIE-LCH | lch(53.93, 46.23, 97.39°) |
| OKLab | oklab(60.08% -0.0205 0.1033) |
| OKLCH | oklch(60.08% 0.105 101.2) |
| XYZ | xyz(19.6124, 21.9063, 5.6774) |
| Luminance | 0.2191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.05
Olive
#808000
ΔE00 5.16
Hazel
#8E7618
ΔE00 5.53
Drab
#828344
ΔE00 5.93
Diarrhea
#9F8303
ΔE00 6.31
Puke Brown
#947706
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E822D #2D398E
analogous
#8E522D #8E822D #6A8E2D
triadic
#8E822D #2D8E82 #822D8E
tetradic
#8E822D #2D8E52 #2D398E #8E2D6A
square
#8E822D #2D8E52 #2D398E #8E2D6A
split-complementary
#8E822D #2D6A8E #522D8E
monochromatic
#312D10 #60571E #8E822D #BCAD3C #CFC267
Accessibility & contrast
On white
3.90
#8E822D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#8E822D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E822D
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E822D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E822D | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#997971
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e822d; /* rgb */ color: rgb(142, 130, 45); /* oklch */ color: oklch(60.1% 0.105 101.2);
Tailwind
colors: {
custom: {
50: '#b2a66b',
500: '#8e822d',
950: '#000000',
},
}SCSS
$custom: #8e822d; $custom-light: #b2a66b; $custom-dark: #000000;
JSON
{
"hex": "#8e822d",
"rgb": {
"r": 142,
"g": 130,
"b": 45
},
"hsl": {
"h": 52.577,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.60079,
"c": 0.10531,
"h": 101.2
},
"luminance": 0.21906
}Semantic roles & 50–950 ramp
primary
#8E822D
secondary
#616CB5
accent
#5EDB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A