#8F8325#8F8325
#8F8325 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.112 H 101.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8325 |
|---|---|
| RGB | rgb(143, 131, 37) |
| HSL | hsl(53, 59%, 35%) |
| HSV | hsv(53, 74%, 56%) |
| CMYK | cmyk(0%, 8.4%, 74.1%, 43.9%) |
| CIE-LAB | lab(54.25, -6.49, 49.52) |
| CIE-LCH | lch(54.25, 49.94, 97.46°) |
| OKLab | oklab(60.34% -0.023 0.1096) |
| OKLCH | oklch(60.34% 0.112 101.8) |
| XYZ | xyz(19.7788, 22.2067, 4.9944) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.52
Olive
#808000
ΔE00 4.61
Diarrhea
#9F8303
ΔE00 5.67
Hazel
#8E7618
ΔE00 5.67
Puke Brown
#947706
ΔE00 6.52
Drab
#828344
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8325 #25318F
analogous
#8F4E25 #8F8325 #668F25
triadic
#8F8325 #258F83 #83258F
tetradic
#8F8325 #258F4E #25318F #8F2566
square
#8F8325 #258F4E #25318F #8F2566
split-complementary
#8F8325 #25668F #4E258F
monochromatic
#2E2A0C #5E5618 #8F8325 #C0B032 #D4C65A
Accessibility & contrast
On white
3.86
#8F8325 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#8F8325 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8325
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8325 | 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)
#907F15
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8325; /* rgb */ color: rgb(143, 131, 37); /* oklch */ color: oklch(60.3% 0.112 101.8);
Tailwind
colors: {
custom: {
50: '#b3a666',
500: '#8f8325',
950: '#000000',
},
}SCSS
$custom: #8f8325; $custom-light: #b3a666; $custom-dark: #000000;
JSON
{
"hex": "#8f8325",
"rgb": {
"r": 143,
"g": 131,
"b": 37
},
"hsl": {
"h": 53.208,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.60335,
"c": 0.11193,
"h": 101.8
},
"luminance": 0.22206
}Semantic roles & 50–950 ramp
primary
#8F8325
secondary
#5762B9
accent
#57E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A