#8F8618#8F8618
#8F8618 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.122 H 104.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8618 |
|---|---|
| RGB | rgb(143, 134, 24) |
| HSL | hsl(55, 71%, 33%) |
| HSV | hsv(55, 83%, 56%) |
| CMYK | cmyk(0%, 6.3%, 83.2%, 43.9%) |
| CIE-LAB | lab(55.03, -8.67, 54.67) |
| CIE-LCH | lch(55.03, 55.35, 99.01°) |
| OKLab | oklab(60.93% -0.0303 0.1179) |
| OKLCH | oklch(60.93% 0.122 104.4) |
| XYZ | xyz(20.0186, 22.9566, 4.2406) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.93
Baby Poop
#937C00
ΔE00 5.22
Diarrhea
#9F8303
ΔE00 5.95
Shit Green
#758000
ΔE00 6.73
Hazel
#8E7618
ΔE00 7.10
Baby Poop Green
#8F9805
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8618 #18218F
analogous
#8F4A18 #8F8618 #5D8F18
triadic
#8F8618 #188F86 #86188F
tetradic
#8F8618 #188F4A #18218F #8F185D
square
#8F8618 #188F4A #18218F #8F185D
split-complementary
#8F8618 #185D8F #4A188F
monochromatic
#262406 #5B550F #8F8618 #C3B721 #DFD342
Accessibility & contrast
On white
3.76
#8F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8F8618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8618
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8618 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8618 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#9A7C72
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f8618; /* rgb */ color: rgb(143, 134, 24); /* oklch */ color: oklch(60.9% 0.122 104.4);
Tailwind
colors: {
custom: {
50: '#b4a861',
500: '#8f8618',
950: '#000000',
},
}SCSS
$custom: #8f8618; $custom-light: #b4a861; $custom-dark: #000000;
JSON
{
"hex": "#8f8618",
"rgb": {
"r": 143,
"g": 134,
"b": 24
},
"hsl": {
"h": 55.462,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.60935,
"c": 0.12177,
"h": 104.4
},
"luminance": 0.22956
}Semantic roles & 50–950 ramp
primary
#8F8618
secondary
#434CC0
accent
#47EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A