#8A851B#8A851B
#8A851B is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.120 H 106.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A851B |
|---|---|
| RGB | rgb(138, 133, 27) |
| HSL | hsl(57, 67%, 32%) |
| HSV | hsv(57, 80%, 54%) |
| CMYK | cmyk(0%, 3.6%, 80.4%, 45.9%) |
| CIE-LAB | lab(54.30, -10.32, 52.95) |
| CIE-LCH | lch(54.30, 53.94, 101.03°) |
| OKLab | oklab(60.25% -0.0344 0.1151) |
| OKLCH | oklch(60.25% 0.12 106.7) |
| XYZ | xyz(19.0674, 22.2582, 4.3286) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.87
Shit Green
#758000
ΔE00 5.39
Swamp Green
#748500
ΔE00 6.09
Baby Poop
#937C00
ΔE00 6.12
Drab
#828344
ΔE00 6.88
Poop Green
#6F7C00
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A851B #1B208A
analogous
#8A4D1B #8A851B #588A1B
triadic
#8A851B #1B8A85 #851B8A
tetradic
#8A851B #1B8A4D #1B208A #8A1B58
square
#8A851B #1B8A4D #1B208A #8A1B58
split-complementary
#8A851B #1B588A #4D1B8A
monochromatic
#242207 #575411 #8A851B #BDB625 #DBD445
Accessibility & contrast
On white
3.85
#8A851B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#8A851B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A851B
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A851B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A851B | 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)
#918000
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#957C71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a851b; /* rgb */ color: rgb(138, 133, 27); /* oklch */ color: oklch(60.3% 0.120 106.7);
Tailwind
colors: {
custom: {
50: '#b0a862',
500: '#8a851b',
950: '#000000',
},
}SCSS
$custom: #8a851b; $custom-light: #b0a862; $custom-dark: #000000;
JSON
{
"hex": "#8a851b",
"rgb": {
"r": 138,
"g": 133,
"b": 27
},
"hsl": {
"h": 57.297,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.6025,
"c": 0.12011,
"h": 106.7
},
"luminance": 0.22257
}Semantic roles & 50–950 ramp
primary
#8A851B
secondary
#454ABC
accent
#45EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A