#8F8118#8F8118
#8F8118 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.117 H 101.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8118 |
|---|---|
| RGB | rgb(143, 129, 24) |
| HSL | hsl(53, 71%, 33%) |
| HSV | hsv(53, 83%, 56%) |
| CMYK | cmyk(0%, 9.8%, 83.2%, 43.9%) |
| CIE-LAB | lab(53.61, -5.93, 53.44) |
| CIE-LCH | lch(53.61, 53.77, 96.33°) |
| OKLab | oklab(59.81% -0.0226 0.1153) |
| OKLCH | oklch(59.81% 0.117 101.1) |
| XYZ | xyz(19.3438, 21.6070, 4.0156) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.28
Olive
#808000
ΔE00 4.50
Diarrhea
#9F8303
ΔE00 4.85
Hazel
#8E7618
ΔE00 4.92
Puke Brown
#947706
ΔE00 5.54
Yellowish Brown
#9B7A01
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8118 #18268F
analogous
#8F4518 #8F8118 #618F18
triadic
#8F8118 #188F81 #81188F
tetradic
#8F8118 #188F45 #18268F #8F1861
square
#8F8118 #188F45 #18268F #8F1861
split-complementary
#8F8118 #18618F #45188F
monochromatic
#262206 #5B520F #8F8118 #C3B021 #DFCD42
Accessibility & contrast
On white
3.95
#8F8118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#8F8118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8118
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8118 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#9B776E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8f8118; /* rgb */ color: rgb(143, 129, 24); /* oklch */ color: oklch(59.8% 0.117 101.1);
Tailwind
colors: {
custom: {
50: '#b4a560',
500: '#8f8118',
950: '#000000',
},
}SCSS
$custom: #8f8118; $custom-light: #b4a560; $custom-dark: #000000;
JSON
{
"hex": "#8f8118",
"rgb": {
"r": 143,
"g": 129,
"b": 24
},
"hsl": {
"h": 52.941,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.59806,
"c": 0.11748,
"h": 101.1
},
"luminance": 0.21606
}Semantic roles & 50–950 ramp
primary
#8F8118
secondary
#4351C0
accent
#4FEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A