#8F8232#8F8232
#8F8232 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.101 H 100.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8232 |
|---|---|
| RGB | rgb(143, 130, 50) |
| HSL | hsl(52, 48%, 38%) |
| HSV | hsv(52, 65%, 56%) |
| CMYK | cmyk(0%, 9.1%, 65%, 43.9%) |
| CIE-LAB | lab(54.07, -5.17, 43.76) |
| CIE-LCH | lch(54.07, 44.07, 96.74°) |
| OKLab | oklab(60.22% -0.0177 0.0997) |
| OKLCH | oklch(60.22% 0.101 100.1) |
| XYZ | xyz(19.8869, 22.0360, 6.2229) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.35
Hazel
#8E7618
ΔE00 5.54
Drab
#828344
ΔE00 5.71
Olive
#808000
ΔE00 5.91
Dark Khaki
#9B8F55
ΔE00 6.35
Diarrhea
#9F8303
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8232 #323F8F
analogous
#8F5332 #8F8232 #6D8F32
triadic
#8F8232 #328F82 #82328F
tetradic
#8F8232 #328F53 #323F8F #8F326D
square
#8F8232 #328F53 #323F8F #8F326D
split-complementary
#8F8232 #326D8F #53328F
monochromatic
#343012 #625922 #8F8232 #BCAB42 #CDBF6F
Accessibility & contrast
On white
3.88
#8F8232 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#8F8232 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8232
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8232 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8232 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E29
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#9A7971
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8232; /* rgb */ color: rgb(143, 130, 50); /* oklch */ color: oklch(60.2% 0.101 100.1);
Tailwind
colors: {
custom: {
50: '#b2a66e',
500: '#8f8232',
950: '#000000',
},
}SCSS
$custom: #8f8232; $custom-light: #b2a66e; $custom-dark: #000000;
JSON
{
"hex": "#8f8232",
"rgb": {
"r": 143,
"g": 130,
"b": 50
},
"hsl": {
"h": 51.613,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.60225,
"c": 0.10124,
"h": 100.1
},
"luminance": 0.22035
}Semantic roles & 50–950 ramp
primary
#8F8232
secondary
#6873B4
accent
#63D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A