#8F8018#8F8018
#8F8018 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.117 H 100.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8018 |
|---|---|
| RGB | rgb(143, 128, 24) |
| HSL | hsl(52, 71%, 33%) |
| HSV | hsv(52, 83%, 56%) |
| CMYK | cmyk(0%, 10.5%, 83.2%, 43.9%) |
| CIE-LAB | lab(53.32, -5.37, 53.20) |
| CIE-LCH | lch(53.32, 53.47, 95.77°) |
| OKLab | oklab(59.58% -0.0211 0.1148) |
| OKLCH | oklch(59.58% 0.117 100.4) |
| XYZ | xyz(19.2127, 21.3449, 3.9720) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.93
Hazel
#8E7618
ΔE00 4.48
Diarrhea
#9F8303
ΔE00 4.71
Olive
#808000
ΔE00 4.74
Puke Brown
#947706
ΔE00 5.12
Yellowish Brown
#9B7A01
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8018 #18278F
analogous
#8F4418 #8F8018 #628F18
triadic
#8F8018 #188F80 #80188F
tetradic
#8F8018 #188F44 #18278F #8F1862
square
#8F8018 #188F44 #18278F #8F1862
split-complementary
#8F8018 #18628F #44188F
monochromatic
#262206 #5B510F #8F8018 #C3AF21 #DFCB42
Accessibility & contrast
On white
3.99
#8F8018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8F8018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8018
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8018 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#9B766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8f8018; /* rgb */ color: rgb(143, 128, 24); /* oklch */ color: oklch(59.6% 0.117 100.4);
Tailwind
colors: {
custom: {
50: '#b4a460',
500: '#8f8018',
950: '#000000',
},
}SCSS
$custom: #8f8018; $custom-light: #b4a460; $custom-dark: #000000;
JSON
{
"hex": "#8f8018",
"rgb": {
"r": 143,
"g": 128,
"b": 24
},
"hsl": {
"h": 52.437,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.59581,
"c": 0.11667,
"h": 100.4
},
"luminance": 0.21344
}Semantic roles & 50–950 ramp
primary
#8F8018
secondary
#4353C0
accent
#51EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79