#8B8F18#8B8F18
#8B8F18 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.131 H 111.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8F18 |
|---|---|
| RGB | rgb(139, 143, 24) |
| HSL | hsl(62, 71%, 33%) |
| HSV | hsv(62, 83%, 56%) |
| CMYK | cmyk(2.8%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(57.27, -15.31, 56.46) |
| CIE-LCH | lch(57.27, 58.50, 105.17°) |
| OKLab | oklab(62.64% -0.0486 0.122) |
| OKLCH | oklch(62.64% 0.131 111.7) |
| XYZ | xyz(20.6355, 25.2004, 4.6411) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.27
Baby Shit Green
#889717
ΔE00 3.39
Pea Soup
#929901
ΔE00 3.67
Olive
#808000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.60
Ugly Green
#7A9703
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8F18 #1C188F
analogous
#8F5818 #8B8F18 #4F8F18
triadic
#8B8F18 #188B8F #8F188B
tetradic
#8B8F18 #188F58 #1C188F #8F184F
square
#8B8F18 #188F58 #1C188F #8F184F
split-complementary
#8B8F18 #184F8F #58188F
monochromatic
#252606 #585B0F #8B8F18 #BEC321 #DADF42
Accessibility & contrast
On white
3.48
#8B8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#8B8F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8F18
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8F18 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8b8f18; /* rgb */ color: rgb(139, 143, 24); /* oklch */ color: oklch(62.6% 0.131 111.7);
Tailwind
colors: {
custom: {
50: '#b1af62',
500: '#8b8f18',
950: '#000000',
},
}SCSS
$custom: #8b8f18; $custom-light: #b1af62; $custom-dark: #000000;
JSON
{
"hex": "#8b8f18",
"rgb": {
"r": 139,
"g": 143,
"b": 24
},
"hsl": {
"h": 62.017,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.6264,
"c": 0.13133,
"h": 111.7
},
"luminance": 0.252
}Semantic roles & 50–950 ramp
primary
#8B8F18
secondary
#4743C0
accent
#3AEE40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A