#8F8318#8F8318
#8F8318 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.119 H 102.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8318 |
|---|---|
| RGB | rgb(143, 131, 24) |
| HSL | hsl(54, 71%, 33%) |
| HSV | hsv(54, 83%, 56%) |
| CMYK | cmyk(0%, 8.4%, 83.2%, 43.9%) |
| CIE-LAB | lab(54.17, -7.03, 53.93) |
| CIE-LCH | lch(54.17, 54.39, 97.42°) |
| OKLab | oklab(60.26% -0.0257 0.1164) |
| OKLCH | oklch(60.26% 0.119 102.5) |
| XYZ | xyz(19.6098, 22.1391, 4.1043) |
| Luminance | 0.2214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.04
Olive
#808000
ΔE00 4.14
Diarrhea
#9F8303
ΔE00 5.22
Hazel
#8E7618
ΔE00 5.81
Puke Brown
#947706
ΔE00 6.38
Dark Mustard
#A88905
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8318 #18248F
analogous
#8F4818 #8F8318 #5F8F18
triadic
#8F8318 #188F83 #83188F
tetradic
#8F8318 #188F48 #18248F #8F185F
square
#8F8318 #188F48 #18248F #8F185F
split-complementary
#8F8318 #185F8F #48188F
monochromatic
#262306 #5B530F #8F8318 #C3B321 #DFCF42
Accessibility & contrast
On white
3.87
#8F8318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8F8318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8318
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8318 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#9B7970
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8318; /* rgb */ color: rgb(143, 131, 24); /* oklch */ color: oklch(60.3% 0.119 102.5);
Tailwind
colors: {
custom: {
50: '#b4a660',
500: '#8f8318',
950: '#000000',
},
}SCSS
$custom: #8f8318; $custom-light: #b4a660; $custom-dark: #000000;
JSON
{
"hex": "#8f8318",
"rgb": {
"r": 143,
"g": 131,
"b": 24
},
"hsl": {
"h": 53.95,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.60256,
"c": 0.11916,
"h": 102.5
},
"luminance": 0.22138
}Semantic roles & 50–950 ramp
primary
#8F8318
secondary
#434FC0
accent
#4CEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A