#8B8D18#8B8D18
#8B8D18 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.2% C 0.129 H 110.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8D18 |
|---|---|
| RGB | rgb(139, 141, 24) |
| HSL | hsl(61, 71%, 32%) |
| HSV | hsv(61, 83%, 55%) |
| CMYK | cmyk(1.4%, 0%, 83%, 44.7%) |
| CIE-LAB | lab(56.69, -14.25, 55.96) |
| CIE-LCH | lch(56.69, 57.75, 104.29°) |
| OKLab | oklab(62.18% -0.0457 0.1209) |
| OKLCH | oklch(62.18% 0.129 110.7) |
| XYZ | xyz(20.3380, 24.6053, 4.5419) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.97
Baby Shit Green
#889717
ΔE00 4.16
Pea Soup
#929901
ΔE00 4.30
Olive
#808000
ΔE00 4.70
Swamp Green
#748500
ΔE00 5.52
Shit Green
#758000
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8D18 #1A188D
analogous
#8D5518 #8B8D18 #508D18
triadic
#8B8D18 #188B8D #8D188B
tetradic
#8B8D18 #188D55 #1A188D #8D1850
square
#8B8D18 #188D55 #1A188D #8D1850
split-complementary
#8B8D18 #18508D #55188D
monochromatic
#242406 #57590F #8B8D18 #BFC121 #DCDF41
Accessibility & contrast
On white
3.55
#8B8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#8B8D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8D18
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8D18 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8924
Tritanopia (blue-blind)
#958478
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8b8d18; /* rgb */ color: rgb(139, 141, 24); /* oklch */ color: oklch(62.2% 0.129 110.7);
Tailwind
colors: {
custom: {
50: '#b1ae62',
500: '#8b8d18',
950: '#000000',
},
}SCSS
$custom: #8b8d18; $custom-light: #b1ae62; $custom-dark: #000000;
JSON
{
"hex": "#8b8d18",
"rgb": {
"r": 139,
"g": 141,
"b": 24
},
"hsl": {
"h": 61.026,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.62175,
"c": 0.12926,
"h": 110.7
},
"luminance": 0.24605
}Semantic roles & 50–950 ramp
primary
#8B8D18
secondary
#4442BF
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A