#8F8533#8F8533
#8F8533 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.103 H 102.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8533 |
|---|---|
| RGB | rgb(143, 133, 51) |
| HSL | hsl(53, 47%, 38%) |
| HSV | hsv(53, 64%, 56%) |
| CMYK | cmyk(0%, 7%, 64.3%, 43.9%) |
| CIE-LAB | lab(54.92, -6.76, 44.22) |
| CIE-LCH | lch(54.92, 44.74, 98.69°) |
| OKLab | oklab(60.91% -0.0221 0.1008) |
| OKLCH | oklch(60.91% 0.103 102.4) |
| XYZ | xyz(20.3135, 22.8545, 6.4727) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.28
Olive
#808000
ΔE00 5.54
Dark Khaki
#9B8F55
ΔE00 5.98
Baby Poop
#937C00
ΔE00 6.16
Hazel
#8E7618
ΔE00 6.76
Diarrhea
#9F8303
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8533 #333D8F
analogous
#8F5733 #8F8533 #6B8F33
triadic
#8F8533 #338F85 #85338F
tetradic
#8F8533 #338F57 #333D8F #8F336B
square
#8F8533 #338F57 #333D8F #8F336B
split-complementary
#8F8533 #336B8F #57338F
monochromatic
#353113 #625B23 #8F8533 #BCAF43 #CCC270
Accessibility & contrast
On white
3.77
#8F8533 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#8F8533 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8533
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8533 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918129
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#9A7C74
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8f8533; /* rgb */ color: rgb(143, 133, 51); /* oklch */ color: oklch(60.9% 0.103 102.4);
Tailwind
colors: {
custom: {
50: '#b2a86f',
500: '#8f8533',
950: '#000000',
},
}SCSS
$custom: #8f8533; $custom-light: #b2a86f; $custom-dark: #000000;
JSON
{
"hex": "#8f8533",
"rgb": {
"r": 143,
"g": 133,
"b": 51
},
"hsl": {
"h": 53.478,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.60908,
"c": 0.10321,
"h": 102.4
},
"luminance": 0.22854
}Semantic roles & 50–950 ramp
primary
#8F8533
secondary
#6A72B4
accent
#5FD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A