#8F8229#8F8229
#8F8229 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.108 H 100.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8229 |
|---|---|
| RGB | rgb(143, 130, 41) |
| HSL | hsl(52, 55%, 36%) |
| HSV | hsv(52, 71%, 56%) |
| CMYK | cmyk(0%, 9.1%, 71.3%, 43.9%) |
| CIE-LAB | lab(53.99, -5.73, 47.65) |
| CIE-LCH | lch(53.99, 48.00, 96.85°) |
| OKLab | oklab(60.14% -0.0204 0.1064) |
| OKLCH | oklch(60.14% 0.108 100.8) |
| XYZ | xyz(19.7114, 21.9659, 5.2990) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.50
Olive
#808000
ΔE00 5.06
Hazel
#8E7618
ΔE00 5.27
Diarrhea
#9F8303
ΔE00 5.74
Puke Brown
#947706
ΔE00 6.25
Drab
#828344
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8229 #29368F
analogous
#8F4F29 #8F8229 #698F29
triadic
#8F8229 #298F82 #82298F
tetradic
#8F8229 #298F4F #29368F #8F2969
square
#8F8229 #298F4F #29368F #8F2969
split-complementary
#8F8229 #29698F #4F298F
monochromatic
#302C0E #5F571B #8F8229 #BFAD37 #D2C361
Accessibility & contrast
On white
3.89
#8F8229 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#8F8229 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8229
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8229 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8229; /* rgb */ color: rgb(143, 130, 41); /* oklch */ color: oklch(60.1% 0.108 100.8);
Tailwind
colors: {
custom: {
50: '#b3a668',
500: '#8f8229',
950: '#000000',
},
}SCSS
$custom: #8f8229; $custom-light: #b3a668; $custom-dark: #000000;
JSON
{
"hex": "#8f8229",
"rgb": {
"r": 143,
"g": 130,
"b": 41
},
"hsl": {
"h": 52.353,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.60142,
"c": 0.1083,
"h": 100.8
},
"luminance": 0.21965
}Semantic roles & 50–950 ramp
primary
#8F8229
secondary
#5C68B7
accent
#5CDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A