#8F8319#8F8319
#8F8319 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.119 H 102.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8319 |
|---|---|
| RGB | rgb(143, 131, 25) |
| HSL | hsl(54, 70%, 33%) |
| HSV | hsv(54, 83%, 56%) |
| CMYK | cmyk(0%, 8.4%, 82.5%, 43.9%) |
| CIE-LAB | lab(54.18, -6.99, 53.64) |
| CIE-LCH | lch(54.18, 54.09, 97.43°) |
| OKLab | oklab(60.26% -0.0255 0.1159) |
| OKLCH | oklch(60.26% 0.119 102.4) |
| XYZ | xyz(19.6204, 22.1433, 4.1601) |
| Luminance | 0.2214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.06
Olive
#808000
ΔE00 4.16
Diarrhea
#9F8303
ΔE00 5.24
Hazel
#8E7618
ΔE00 5.79
Puke Brown
#947706
ΔE00 6.38
Dark Mustard
#A88905
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8319 #19258F
analogous
#8F4819 #8F8319 #608F19
triadic
#8F8319 #198F83 #83198F
tetradic
#8F8319 #198F48 #19258F #8F1960
square
#8F8319 #198F48 #19258F #8F1960
split-complementary
#8F8319 #19608F #48198F
monochromatic
#272407 #5B5310 #8F8319 #C3B322 #DECF44
Accessibility & contrast
On white
3.87
#8F8319 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8F8319 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8319
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8319 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8319 | 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)
#948422
Tritanopia (blue-blind)
#9B7970
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8319; /* rgb */ color: rgb(143, 131, 25); /* oklch */ color: oklch(60.3% 0.119 102.4);
Tailwind
colors: {
custom: {
50: '#b4a661',
500: '#8f8319',
950: '#000000',
},
}SCSS
$custom: #8f8319; $custom-light: #b4a661; $custom-dark: #000000;
JSON
{
"hex": "#8f8319",
"rgb": {
"r": 143,
"g": 131,
"b": 25
},
"hsl": {
"h": 53.898,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.60261,
"c": 0.11869,
"h": 102.4
},
"luminance": 0.22142
}Semantic roles & 50–950 ramp
primary
#8F8319
secondary
#4451BF
accent
#4DED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A