#9F8532#9F8532
#9F8532 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.106 H 91.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8532 |
|---|---|
| RGB | rgb(159, 133, 50) |
| HSL | hsl(46, 52%, 41%) |
| HSV | hsv(46, 69%, 62%) |
| CMYK | cmyk(0%, 16.4%, 68.6%, 37.6%) |
| CIE-LAB | lab(56.46, 0.41, 46.78) |
| CIE-LCH | lch(56.46, 46.79, 89.49°) |
| OKLab | oklab(62.49% -0.0027 0.1056) |
| OKLCH | oklch(62.49% 0.106 91.5) |
| XYZ | xyz(23.2625, 24.3776, 6.4971) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.03
Dark Mustard
#A88905
ΔE00 4.76
Yellowish Brown
#9B7A01
ΔE00 5.14
Baby Poop
#937C00
ΔE00 5.22
Yellowy Brown
#AE8B0C
ΔE00 5.36
Puke Brown
#947706
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8532 #324C9F
analogous
#9F4E32 #9F8532 #829F32
triadic
#9F8532 #329F85 #85329F
tetradic
#9F8532 #329F4E #324C9F #9F3282
square
#9F8532 #329F4E #324C9F #9F3282
split-complementary
#9F8532 #32829F #4E329F
monochromatic
#423715 #705E23 #9F8532 #C6A849 #D4BE77
Accessibility & contrast
On white
3.57
#9F8532 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9F8532 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8532
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8532 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#AC7A74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f8532; /* rgb */ color: rgb(159, 133, 50); /* oklch */ color: oklch(62.5% 0.106 91.5);
Tailwind
colors: {
custom: {
50: '#bfa86e',
500: '#9f8532',
950: '#000000',
},
}SCSS
$custom: #9f8532; $custom-light: #bfa86e; $custom-dark: #000000;
JSON
{
"hex": "#9f8532",
"rgb": {
"r": 159,
"g": 133,
"b": 50
},
"hsl": {
"h": 45.688,
"s": 52.153,
"l": 40.98
},
"oklch": {
"l": 0.62491,
"c": 0.10562,
"h": 91.5
},
"luminance": 0.24376
}Semantic roles & 50–950 ramp
primary
#9F8532
secondary
#7082BD
accent
#6EDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A