#8A891C#8A891C
#8A891C is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.124 H 109.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A891C |
|---|---|
| RGB | rgb(138, 137, 28) |
| HSL | hsl(59, 66%, 33%) |
| HSV | hsv(59, 80%, 54%) |
| CMYK | cmyk(0%, 0.7%, 79.7%, 45.9%) |
| CIE-LAB | lab(55.46, -12.43, 53.67) |
| CIE-LCH | lch(55.46, 55.09, 103.04°) |
| OKLab | oklab(61.18% -0.0402 0.1168) |
| OKLCH | oklch(61.18% 0.124 109) |
| XYZ | xyz(19.6373, 23.3791, 4.5766) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.58
Shit Green
#758000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.44
Baby Poop Green
#8F9805
ΔE00 5.52
Baby Shit Green
#889717
ΔE00 5.61
Pea Soup
#929901
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A891C #1C1D8A
analogous
#8A521C #8A891C #548A1C
triadic
#8A891C #1C8A89 #891C8A
tetradic
#8A891C #1C8A52 #1C1D8A #8A1C54
square
#8A891C #1C8A52 #1C1D8A #8A1C54
split-complementary
#8A891C #1C548A #521C8A
monochromatic
#242407 #575612 #8A891C #BDBC26 #DAD847
Accessibility & contrast
On white
3.70
#8A891C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8A891C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A891C
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A891C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A891C | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a891c; /* rgb */ color: rgb(138, 137, 28); /* oklch */ color: oklch(61.2% 0.124 109.0);
Tailwind
colors: {
custom: {
50: '#b0ab63',
500: '#8a891c',
950: '#000000',
},
}SCSS
$custom: #8a891c; $custom-light: #b0ab63; $custom-dark: #000000;
JSON
{
"hex": "#8a891c",
"rgb": {
"r": 138,
"g": 137,
"b": 28
},
"hsl": {
"h": 59.455,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.61178,
"c": 0.12354,
"h": 109
},
"luminance": 0.23378
}Semantic roles & 50–950 ramp
primary
#8A891C
secondary
#4647BB
accent
#40E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A