#8F8519#8F8519
#8F8519 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.120 H 103.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8519 |
|---|---|
| RGB | rgb(143, 133, 25) |
| HSL | hsl(55, 70%, 33%) |
| HSV | hsv(55, 83%, 56%) |
| CMYK | cmyk(0%, 7%, 82.5%, 43.9%) |
| CIE-LAB | lab(54.75, -8.09, 54.13) |
| CIE-LCH | lch(54.75, 54.73, 98.50°) |
| OKLab | oklab(60.71% -0.0286 0.117) |
| OKLCH | oklch(60.71% 0.12 103.7) |
| XYZ | xyz(19.8916, 22.6857, 4.2505) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.97
Baby Poop
#937C00
ΔE00 4.84
Diarrhea
#9F8303
ΔE00 5.71
Hazel
#8E7618
ΔE00 6.66
Shit Green
#758000
ΔE00 6.84
Dark Mustard
#A88905
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8519 #19238F
analogous
#8F4A19 #8F8519 #5E8F19
triadic
#8F8519 #198F85 #85198F
tetradic
#8F8519 #198F4A #19238F #8F195E
square
#8F8519 #198F4A #19238F #8F195E
split-complementary
#8F8519 #195E8F #4A198F
monochromatic
#272407 #5B5510 #8F8519 #C3B522 #DED144
Accessibility & contrast
On white
3.79
#8F8519 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#8F8519 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8519
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8519 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8519 | 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: #8f8519; /* rgb */ color: rgb(143, 133, 25); /* oklch */ color: oklch(60.7% 0.120 103.7);
Tailwind
colors: {
custom: {
50: '#b4a861',
500: '#8f8519',
950: '#000000',
},
}SCSS
$custom: #8f8519; $custom-light: #b4a861; $custom-dark: #000000;
JSON
{
"hex": "#8f8519",
"rgb": {
"r": 143,
"g": 133,
"b": 25
},
"hsl": {
"h": 54.915,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.60713,
"c": 0.12043,
"h": 103.7
},
"luminance": 0.22685
}Semantic roles & 50–950 ramp
primary
#8F8519
secondary
#444FBF
accent
#4AED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A