#8F8918#8F8918
#8F8918 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.125 H 106.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8918 |
|---|---|
| RGB | rgb(143, 137, 24) |
| HSL | hsl(57, 71%, 33%) |
| HSV | hsv(57, 83%, 56%) |
| CMYK | cmyk(0%, 4.2%, 83.2%, 43.9%) |
| CIE-LAB | lab(55.88, -10.29, 55.41) |
| CIE-LCH | lch(55.88, 56.35, 100.52°) |
| OKLab | oklab(61.62% -0.0348 0.1195) |
| OKLCH | oklch(61.62% 0.125 106.3) |
| XYZ | xyz(20.4391, 23.7977, 4.3808) |
| Luminance | 0.2380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.15
Baby Poop Green
#8F9805
ΔE00 5.90
Pea Soup
#929901
ΔE00 5.99
Baby Poop
#937C00
ΔE00 6.41
Baby Shit Green
#889717
ΔE00 6.52
Shit Green
#758000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8918 #181E8F
analogous
#8F4E18 #8F8918 #598F18
triadic
#8F8918 #188F89 #89188F
tetradic
#8F8918 #188F4E #181E8F #8F1859
square
#8F8918 #188F4E #181E8F #8F1859
split-complementary
#8F8918 #18598F #4E188F
monochromatic
#262506 #5B570F #8F8918 #C3BB21 #DFD742
Accessibility & contrast
On white
3.65
#8F8918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8F8918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8918
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8918 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8f8918; /* rgb */ color: rgb(143, 137, 24); /* oklch */ color: oklch(61.6% 0.125 106.3);
Tailwind
colors: {
custom: {
50: '#b4ab61',
500: '#8f8918',
950: '#000000',
},
}SCSS
$custom: #8f8918; $custom-light: #b4ab61; $custom-dark: #000000;
JSON
{
"hex": "#8f8918",
"rgb": {
"r": 143,
"g": 137,
"b": 24
},
"hsl": {
"h": 56.975,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.61618,
"c": 0.12452,
"h": 106.3
},
"luminance": 0.23797
}Semantic roles & 50–950 ramp
primary
#8F8918
secondary
#4349C0
accent
#43EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A