#8A861B#8A861B
#8A861B is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.121 H 107.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A861B |
|---|---|
| RGB | rgb(138, 134, 27) |
| HSL | hsl(58, 67%, 32%) |
| HSV | hsv(58, 80%, 54%) |
| CMYK | cmyk(0%, 2.9%, 80.4%, 45.9%) |
| CIE-LAB | lab(54.59, -10.86, 53.21) |
| CIE-LCH | lch(54.59, 54.30, 101.54°) |
| OKLab | oklab(60.48% -0.0359 0.1156) |
| OKLCH | oklch(60.48% 0.121 107.3) |
| XYZ | xyz(19.2050, 22.5333, 4.3744) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.97
Shit Green
#758000
ΔE00 5.33
Swamp Green
#748500
ΔE00 5.89
Baby Poop
#937C00
ΔE00 6.48
Baby Poop Green
#8F9805
ΔE00 6.65
Baby Shit Green
#889717
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A861B #1B1F8A
analogous
#8A4F1B #8A861B #568A1B
triadic
#8A861B #1B8A86 #861B8A
tetradic
#8A861B #1B8A4F #1B1F8A #8A1B56
square
#8A861B #1B8A4F #1B1F8A #8A1B56
split-complementary
#8A861B #1B568A #4F1B8A
monochromatic
#242307 #575411 #8A861B #BDB825 #DBD545
Accessibility & contrast
On white
3.81
#8A861B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#8A861B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A861B
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A861B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A861B | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#957D72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8a861b; /* rgb */ color: rgb(138, 134, 27); /* oklch */ color: oklch(60.5% 0.121 107.3);
Tailwind
colors: {
custom: {
50: '#b0a862',
500: '#8a861b',
950: '#000000',
},
}SCSS
$custom: #8a861b; $custom-light: #b0a862; $custom-dark: #000000;
JSON
{
"hex": "#8a861b",
"rgb": {
"r": 138,
"g": 134,
"b": 27
},
"hsl": {
"h": 57.838,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.6048,
"c": 0.12107,
"h": 107.3
},
"luminance": 0.22533
}Semantic roles & 50–950 ramp
primary
#8A861B
secondary
#4549BC
accent
#44EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A