#8D8A1E#8D8A1E
#8D8A1E is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.123 H 107.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8A1E |
|---|---|
| RGB | rgb(141, 138, 30) |
| HSL | hsl(58, 65%, 34%) |
| HSV | hsv(58, 79%, 55%) |
| CMYK | cmyk(0%, 2.1%, 78.7%, 44.7%) |
| CIE-LAB | lab(56.02, -11.52, 53.63) |
| CIE-LCH | lch(56.02, 54.86, 102.13°) |
| OKLab | oklab(61.69% -0.0377 0.117) |
| OKLCH | oklch(61.69% 0.123 107.9) |
| XYZ | xyz(20.3081, 23.9341, 4.7780) |
| Luminance | 0.2393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.12
Baby Poop Green
#8F9805
ΔE00 5.42
Pea Soup
#929901
ΔE00 5.62
Baby Shit Green
#889717
ΔE00 5.74
Shit Green
#758000
ΔE00 6.08
Swamp Green
#748500
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8A1E #1E218D
analogous
#8D521E #8D8A1E #588D1E
triadic
#8D8A1E #1E8D8A #8A1E8D
tetradic
#8D8A1E #1E8D52 #1E218D #8D1E58
square
#8D8A1E #1E8D52 #1E218D #8D1E58
split-complementary
#8D8A1E #1E588D #521E8D
monochromatic
#282709 #5B5913 #8D8A1E #BFBB29 #D9D54C
Accessibility & contrast
On white
3.63
#8D8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#8D8A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8A1E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8A1E | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8d8a1e; /* rgb */ color: rgb(141, 138, 30); /* oklch */ color: oklch(61.7% 0.123 107.9);
Tailwind
colors: {
custom: {
50: '#b2ab64',
500: '#8d8a1e',
950: '#000000',
},
}SCSS
$custom: #8d8a1e; $custom-light: #b2ab64; $custom-dark: #000000;
JSON
{
"hex": "#8d8a1e",
"rgb": {
"r": 141,
"g": 138,
"b": 30
},
"hsl": {
"h": 58.378,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.61693,
"c": 0.12291,
"h": 107.9
},
"luminance": 0.23933
}Semantic roles & 50–950 ramp
primary
#8D8A1E
secondary
#4B4EBC
accent
#44E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A