#8F8218#8F8218
#8F8218 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.118 H 101.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8218 |
|---|---|
| RGB | rgb(143, 130, 24) |
| HSL | hsl(53, 71%, 33%) |
| HSV | hsv(53, 83%, 56%) |
| CMYK | cmyk(0%, 9.1%, 83.2%, 43.9%) |
| CIE-LAB | lab(53.89, -6.48, 53.69) |
| CIE-LCH | lch(53.89, 54.07, 96.88°) |
| OKLab | oklab(60.03% -0.0242 0.1158) |
| OKLCH | oklch(60.03% 0.118 101.8) |
| XYZ | xyz(19.4762, 21.8718, 4.0598) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.65
Olive
#808000
ΔE00 4.30
Diarrhea
#9F8303
ΔE00 5.02
Hazel
#8E7618
ΔE00 5.37
Puke Brown
#947706
ΔE00 5.96
Yellowish Brown
#9B7A01
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8218 #18258F
analogous
#8F4618 #8F8218 #618F18
triadic
#8F8218 #188F82 #82188F
tetradic
#8F8218 #188F46 #18258F #8F1861
square
#8F8218 #188F46 #18258F #8F1861
split-complementary
#8F8218 #18618F #46188F
monochromatic
#262306 #5B520F #8F8218 #C3B221 #DFCE42
Accessibility & contrast
On white
3.91
#8F8218 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#8F8218 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8218
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8218 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8218 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#9B786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8218; /* rgb */ color: rgb(143, 130, 24); /* oklch */ color: oklch(60.0% 0.118 101.8);
Tailwind
colors: {
custom: {
50: '#b4a560',
500: '#8f8218',
950: '#000000',
},
}SCSS
$custom: #8f8218; $custom-light: #b4a560; $custom-dark: #000000;
JSON
{
"hex": "#8f8218",
"rgb": {
"r": 143,
"g": 130,
"b": 24
},
"hsl": {
"h": 53.445,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.60031,
"c": 0.11831,
"h": 101.8
},
"luminance": 0.21871
}Semantic roles & 50–950 ramp
primary
#8F8218
secondary
#4350C0
accent
#4DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A