#8A851E#8A851E
#8A851E is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.119 H 106.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A851E |
|---|---|
| RGB | rgb(138, 133, 30) |
| HSL | hsl(57, 64%, 33%) |
| HSV | hsv(57, 78%, 54%) |
| CMYK | cmyk(0%, 3.6%, 78.3%, 45.9%) |
| CIE-LAB | lab(54.32, -10.20, 51.98) |
| CIE-LCH | lch(54.32, 52.97, 101.10°) |
| OKLab | oklab(60.27% -0.0338 0.1136) |
| OKLCH | oklch(60.27% 0.119 106.6) |
| XYZ | xyz(19.1039, 22.2728, 4.5208) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.99
Shit Green
#758000
ΔE00 5.43
Swamp Green
#748500
ΔE00 6.12
Baby Poop
#937C00
ΔE00 6.19
Drab
#828344
ΔE00 6.61
Poop Green
#6F7C00
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A851E #1E238A
analogous
#8A4F1E #8A851E #598A1E
triadic
#8A851E #1E8A85 #851E8A
tetradic
#8A851E #1E8A4F #1E238A #8A1E59
square
#8A851E #1E8A4F #1E238A #8A1E59
split-complementary
#8A851E #1E598A #4F1E8A
monochromatic
#252408 #585513 #8A851E #BCB529 #D8D14B
Accessibility & contrast
On white
3.85
#8A851E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#8A851E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A851E
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A851E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A851E | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#957C72
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a851e; /* rgb */ color: rgb(138, 133, 30); /* oklch */ color: oklch(60.3% 0.119 106.6);
Tailwind
colors: {
custom: {
50: '#b0a863',
500: '#8a851e',
950: '#000000',
},
}SCSS
$custom: #8a851e; $custom-light: #b0a863; $custom-dark: #000000;
JSON
{
"hex": "#8a851e",
"rgb": {
"r": 138,
"g": 133,
"b": 30
},
"hsl": {
"h": 57.222,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.60267,
"c": 0.11851,
"h": 106.6
},
"luminance": 0.22272
}Semantic roles & 50–950 ramp
primary
#8A851E
secondary
#4A4FBA
accent
#48E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A