#8A862A#8A862A
#8A862A is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.112 H 106.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8A862A |
|---|---|
| RGB | rgb(138, 134, 42) |
| HSL | hsl(58, 53%, 35%) |
| HSV | hsv(58, 70%, 54%) |
| CMYK | cmyk(0%, 2.9%, 69.6%, 45.9%) |
| CIE-LAB | lab(54.68, -10.14, 47.78) |
| CIE-LCH | lch(54.68, 48.85, 101.98°) |
| OKLab | oklab(60.58% -0.0324 0.107) |
| OKLCH | oklch(60.58% 0.112 106.9) |
| XYZ | xyz(19.4250, 22.6213, 5.5332) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.89
Drab
#828344
ΔE00 5.37
Shit Green
#758000
ΔE00 5.73
Swamp Green
#748500
ΔE00 6.25
Baby Poop
#937C00
ΔE00 7.01
Poop Green
#6F7C00
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A862A #2A2E8A
analogous
#8A562A #8A862A #5E8A2A
triadic
#8A862A #2A8A86 #862A8A
tetradic
#8A862A #2A8A56 #2A2E8A #8A2A5E
square
#8A862A #2A8A56 #2A2E8A #8A2A5E
split-complementary
#8A862A #2A5E8A #562A8A
monochromatic
#2C2B0D #5B581C #8A862A #B9B438 #CFCA60
Accessibility & contrast
On white
3.80
#8A862A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8A862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A862A
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A862A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A862A | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a862a; /* rgb */ color: rgb(138, 134, 42); /* oklch */ color: oklch(60.6% 0.112 106.9);
Tailwind
colors: {
custom: {
50: '#afa969',
500: '#8a862a',
950: '#000000',
},
}SCSS
$custom: #8a862a; $custom-light: #afa969; $custom-dark: #000000;
JSON
{
"hex": "#8a862a",
"rgb": {
"r": 138,
"g": 134,
"b": 42
},
"hsl": {
"h": 57.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.60583,
"c": 0.11179,
"h": 106.9
},
"luminance": 0.22621
}Semantic roles & 50–950 ramp
primary
#8A862A
secondary
#5B5FB4
accent
#51DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A