#8F8327#8F8327
#8F8327 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.111 H 101.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8327 |
|---|---|
| RGB | rgb(143, 131, 39) |
| HSL | hsl(53, 57%, 36%) |
| HSV | hsv(53, 73%, 56%) |
| CMYK | cmyk(0%, 8.4%, 72.7%, 43.9%) |
| CIE-LAB | lab(54.26, -6.39, 48.74) |
| CIE-LCH | lch(54.26, 49.16, 97.46°) |
| OKLab | oklab(60.35% -0.0224 0.1083) |
| OKLCH | oklch(60.35% 0.111 101.7) |
| XYZ | xyz(19.8111, 22.2196, 5.1643) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.64
Olive
#808000
ΔE00 4.74
Hazel
#8E7618
ΔE00 5.68
Diarrhea
#9F8303
ΔE00 5.77
Puke Brown
#947706
ΔE00 6.57
Drab
#828344
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8327 #27338F
analogous
#8F4F27 #8F8327 #678F27
triadic
#8F8327 #278F83 #83278F
tetradic
#8F8327 #278F4F #27338F #8F2767
square
#8F8327 #278F4F #27338F #8F2767
split-complementary
#8F8327 #27678F #4F278F
monochromatic
#2F2B0D #5F571A #8F8327 #BFAF34 #D3C55D
Accessibility & contrast
On white
3.86
#8F8327 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#8F8327 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8327
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8327 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8327 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F18
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8327; /* rgb */ color: rgb(143, 131, 39); /* oklch */ color: oklch(60.4% 0.111 101.7);
Tailwind
colors: {
custom: {
50: '#b3a667',
500: '#8f8327',
950: '#000000',
},
}SCSS
$custom: #8f8327; $custom-light: #b3a667; $custom-dark: #000000;
JSON
{
"hex": "#8f8327",
"rgb": {
"r": 143,
"g": 131,
"b": 39
},
"hsl": {
"h": 53.077,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.60351,
"c": 0.11059,
"h": 101.7
},
"luminance": 0.22219
}Semantic roles & 50–950 ramp
primary
#8F8327
secondary
#5A65B8
accent
#59E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A