#8F8F17#8F8F17
#8F8F17 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.131 H 109.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8F17 |
|---|---|
| RGB | rgb(143, 143, 23) |
| HSL | hsl(60, 72%, 33%) |
| HSV | hsv(60, 84%, 56%) |
| CMYK | cmyk(0%, 0%, 83.9%, 43.9%) |
| CIE-LAB | lab(57.60, -13.53, 57.15) |
| CIE-LCH | lch(57.60, 58.73, 103.32°) |
| OKLab | oklab(62.99% -0.0439 0.1231) |
| OKLCH | oklch(62.99% 0.131 109.6) |
| XYZ | xyz(21.3056, 25.5471, 4.6192) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.51
Pea Soup
#929901
ΔE00 3.67
Baby Shit Green
#889717
ΔE00 4.21
Olive
#808000
ΔE00 5.46
Swamp Green
#748500
ΔE00 6.52
Vomit
#A2A415
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8F17 #17178F
analogous
#8F5317 #8F8F17 #538F17
triadic
#8F8F17 #178F8F #8F178F
tetradic
#8F8F17 #178F53 #17178F #8F1753
square
#8F8F17 #178F53 #17178F #8F1753
split-complementary
#8F8F17 #17538F #53178F
monochromatic
#262606 #5A5A0F #8F8F17 #C4C41F #E0E040
Accessibility & contrast
On white
3.44
#8F8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#8F8F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8F17
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8F17 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#9A857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8f8f17; /* rgb */ color: rgb(143, 143, 23); /* oklch */ color: oklch(63.0% 0.131 109.6);
Tailwind
colors: {
custom: {
50: '#b4af62',
500: '#8f8f17',
950: '#000000',
},
}SCSS
$custom: #8f8f17; $custom-light: #b4af62; $custom-dark: #000000;
JSON
{
"hex": "#8f8f17",
"rgb": {
"r": 143,
"g": 143,
"b": 23
},
"hsl": {
"h": 60,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.62989,
"c": 0.13073,
"h": 109.6
},
"luminance": 0.25546
}Semantic roles & 50–950 ramp
primary
#8F8F17
secondary
#4141C1
accent
#39EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A