#8D8B1E#8D8B1E
#8D8B1E is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.9% C 0.124 H 108.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8B1E |
|---|---|
| RGB | rgb(141, 139, 30) |
| HSL | hsl(59, 65%, 34%) |
| HSV | hsv(59, 79%, 55%) |
| CMYK | cmyk(0%, 1.4%, 78.7%, 44.7%) |
| CIE-LAB | lab(56.31, -12.06, 53.89) |
| CIE-LCH | lch(56.31, 55.23, 102.61°) |
| OKLab | oklab(61.92% -0.0392 0.1176) |
| OKLCH | oklch(61.92% 0.124 108.4) |
| XYZ | xyz(20.4523, 24.2224, 4.8261) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.34
Baby Poop Green
#8F9805
ΔE00 5.03
Pea Soup
#929901
ΔE00 5.25
Baby Shit Green
#889717
ΔE00 5.34
Swamp Green
#748500
ΔE00 6.10
Shit Green
#758000
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8B1E #1E208D
analogous
#8D531E #8D8B1E #578D1E
triadic
#8D8B1E #1E8D8B #8B1E8D
tetradic
#8D8B1E #1E8D53 #1E208D #8D1E57
square
#8D8B1E #1E8D53 #1E208D #8D1E57
split-complementary
#8D8B1E #1E578D #531E8D
monochromatic
#282809 #5B5913 #8D8B1E #BFBD29 #D9D64C
Accessibility & contrast
On white
3.59
#8D8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8D8B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8B1E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8B1E | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8d8b1e; /* rgb */ color: rgb(141, 139, 30); /* oklch */ color: oklch(61.9% 0.124 108.4);
Tailwind
colors: {
custom: {
50: '#b2ac64',
500: '#8d8b1e',
950: '#000000',
},
}SCSS
$custom: #8d8b1e; $custom-light: #b2ac64; $custom-dark: #000000;
JSON
{
"hex": "#8d8b1e",
"rgb": {
"r": 141,
"g": 139,
"b": 30
},
"hsl": {
"h": 58.919,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.61923,
"c": 0.12391,
"h": 108.4
},
"luminance": 0.24222
}Semantic roles & 50–950 ramp
primary
#8D8B1E
secondary
#4B4DBC
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A