#8A852A#8A852A
#8A852A is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.4% C 0.111 H 106.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A852A |
|---|---|
| RGB | rgb(138, 133, 42) |
| HSL | hsl(57, 53%, 35%) |
| HSV | hsv(57, 70%, 54%) |
| CMYK | cmyk(0%, 3.6%, 69.6%, 45.9%) |
| CIE-LAB | lab(54.39, -9.60, 47.49) |
| CIE-LCH | lch(54.39, 48.45, 101.42°) |
| OKLab | oklab(60.35% -0.0309 0.1064) |
| OKLCH | oklch(60.35% 0.111 106.2) |
| XYZ | xyz(19.2874, 22.3462, 5.4873) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.85
Drab
#828344
ΔE00 5.32
Shit Green
#758000
ΔE00 5.81
Swamp Green
#748500
ΔE00 6.47
Baby Poop
#937C00
ΔE00 6.68
Poop Green
#6F7C00
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A852A #2A2F8A
analogous
#8A552A #8A852A #5F8A2A
triadic
#8A852A #2A8A85 #852A8A
tetradic
#8A852A #2A8A55 #2A2F8A #8A2A5F
square
#8A852A #2A8A55 #2A2F8A #8A2A5F
split-complementary
#8A852A #2A5F8A #552A8A
monochromatic
#2C2B0D #5B581C #8A852A #B9B238 #CFC960
Accessibility & contrast
On white
3.84
#8A852A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8A852A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A852A
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A852A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A852A | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a852a; /* rgb */ color: rgb(138, 133, 42); /* oklch */ color: oklch(60.4% 0.111 106.2);
Tailwind
colors: {
custom: {
50: '#afa869',
500: '#8a852a',
950: '#000000',
},
}SCSS
$custom: #8a852a; $custom-light: #afa869; $custom-dark: #000000;
JSON
{
"hex": "#8a852a",
"rgb": {
"r": 138,
"g": 133,
"b": 42
},
"hsl": {
"h": 56.875,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.60353,
"c": 0.11076,
"h": 106.2
},
"luminance": 0.22345
}Semantic roles & 50–950 ramp
primary
#8A852A
secondary
#5B60B4
accent
#53DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A