#8F8518#8F8518
#8F8518 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 | #8F8518 |
|---|---|
| RGB | rgb(143, 133, 24) |
| HSL | hsl(55, 71%, 33%) |
| HSV | hsv(55, 83%, 56%) |
| CMYK | cmyk(0%, 7%, 83.2%, 43.9%) |
| CIE-LAB | lab(54.74, -8.12, 54.42) |
| CIE-LCH | lch(54.74, 55.03, 98.49°) |
| OKLab | oklab(60.71% -0.0288 0.1174) |
| OKLCH | oklch(60.71% 0.121 103.8) |
| XYZ | xyz(19.8810, 22.6815, 4.1947) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.96
Baby Poop
#937C00
ΔE00 4.82
Diarrhea
#9F8303
ΔE00 5.69
Hazel
#8E7618
ΔE00 6.67
Shit Green
#758000
ΔE00 6.84
Dark Mustard
#A88905
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8518 #18228F
analogous
#8F4918 #8F8518 #5D8F18
triadic
#8F8518 #188F85 #85188F
tetradic
#8F8518 #188F49 #18228F #8F185D
square
#8F8518 #188F49 #18228F #8F185D
split-complementary
#8F8518 #185D8F #49188F
monochromatic
#262406 #5B540F #8F8518 #C3B621 #DFD242
Accessibility & contrast
On white
3.79
#8F8518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#8F8518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8518
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8518 | 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)
#958522
Tritanopia (blue-blind)
#9A7B71
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8518; /* rgb */ color: rgb(143, 133, 24); /* oklch */ color: oklch(60.7% 0.121 103.8);
Tailwind
colors: {
custom: {
50: '#b4a861',
500: '#8f8518',
950: '#000000',
},
}SCSS
$custom: #8f8518; $custom-light: #b4a861; $custom-dark: #000000;
JSON
{
"hex": "#8f8518",
"rgb": {
"r": 143,
"g": 133,
"b": 24
},
"hsl": {
"h": 54.958,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.60708,
"c": 0.12089,
"h": 103.8
},
"luminance": 0.22681
}Semantic roles & 50–950 ramp
primary
#8F8518
secondary
#434DC0
accent
#49EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A