#8A852C#8A852C
#8A852C is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.109 H 106.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A852C |
|---|---|
| RGB | rgb(138, 133, 44) |
| HSL | hsl(57, 52%, 36%) |
| HSV | hsv(57, 68%, 54%) |
| CMYK | cmyk(0%, 3.6%, 68.1%, 45.9%) |
| CIE-LAB | lab(54.41, -9.48, 46.66) |
| CIE-LCH | lch(54.41, 47.61, 101.48°) |
| OKLab | oklab(60.37% -0.0303 0.105) |
| OKLCH | oklch(60.37% 0.109 106.1) |
| XYZ | xyz(19.3241, 22.3608, 5.6805) |
| Luminance | 0.2236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.05
Drab
#828344
ΔE00 5.08
Shit Green
#758000
ΔE00 5.93
Swamp Green
#748500
ΔE00 6.57
Baby Poop
#937C00
ΔE00 6.80
Poop Green
#6F7C00
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A852C #2C318A
analogous
#8A562C #8A852C #608A2C
triadic
#8A852C #2C8A85 #852C8A
tetradic
#8A852C #2C8A56 #2C318A #8A2C60
square
#8A852C #2C8A56 #2C318A #8A2C60
split-complementary
#8A852C #2C608A #562C8A
monochromatic
#2D2C0E #5C581D #8A852C #B8B23B #CDC863
Accessibility & contrast
On white
3.84
#8A852C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8A852C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A852C
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A852C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A852C | 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)
#908020
Deuteranopia (green-blind)
#928432
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a852c; /* rgb */ color: rgb(138, 133, 44); /* oklch */ color: oklch(60.4% 0.109 106.1);
Tailwind
colors: {
custom: {
50: '#afa86a',
500: '#8a852c',
950: '#000000',
},
}SCSS
$custom: #8a852c; $custom-light: #afa86a; $custom-dark: #000000;
JSON
{
"hex": "#8a852c",
"rgb": {
"r": 138,
"g": 133,
"b": 44
},
"hsl": {
"h": 56.809,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.6037,
"c": 0.10926,
"h": 106.1
},
"luminance": 0.2236
}Semantic roles & 50–950 ramp
primary
#8A852C
secondary
#5E63B4
accent
#54DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A