#8F8517#8F8517
#8F8517 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.121 H 103.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8517 |
|---|---|
| RGB | rgb(143, 133, 23) |
| HSL | hsl(55, 72%, 33%) |
| HSV | hsv(55, 84%, 56%) |
| CMYK | cmyk(0%, 7%, 83.9%, 43.9%) |
| CIE-LAB | lab(54.74, -8.15, 54.71) |
| CIE-LCH | lch(54.74, 55.31, 98.48°) |
| OKLab | oklab(60.7% -0.0289 0.1178) |
| OKLCH | oklch(60.7% 0.121 103.8) |
| XYZ | xyz(19.8708, 22.6774, 4.1409) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.94
Baby Poop
#937C00
ΔE00 4.81
Diarrhea
#9F8303
ΔE00 5.67
Hazel
#8E7618
ΔE00 6.69
Shit Green
#758000
ΔE00 6.84
Dark Mustard
#A88905
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8517 #17218F
analogous
#8F4917 #8F8517 #5D8F17
triadic
#8F8517 #178F85 #85178F
tetradic
#8F8517 #178F49 #17218F #8F175D
square
#8F8517 #178F49 #17218F #8F175D
split-complementary
#8F8517 #175D8F #49178F
monochromatic
#262306 #5A540F #8F8517 #C4B61F #E0D340
Accessibility & contrast
On white
3.79
#8F8517 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#8F8517 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8517
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8517 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8517 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#9A7B71
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8517; /* rgb */ color: rgb(143, 133, 23); /* oklch */ color: oklch(60.7% 0.121 103.8);
Tailwind
colors: {
custom: {
50: '#b4a860',
500: '#8f8517',
950: '#000000',
},
}SCSS
$custom: #8f8517; $custom-light: #b4a860; $custom-dark: #000000;
JSON
{
"hex": "#8f8517",
"rgb": {
"r": 143,
"g": 133,
"b": 23
},
"hsl": {
"h": 55,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.60703,
"c": 0.12132,
"h": 103.8
},
"luminance": 0.22677
}Semantic roles & 50–950 ramp
primary
#8F8517
secondary
#414CC1
accent
#48EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A