#9F8530#9F8530
#9F8530 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.107 H 91.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8530 |
|---|---|
| RGB | rgb(159, 133, 48) |
| HSL | hsl(46, 54%, 41%) |
| HSV | hsv(46, 70%, 62%) |
| CMYK | cmyk(0%, 16.4%, 69.8%, 37.6%) |
| CIE-LAB | lab(56.45, 0.30, 47.66) |
| CIE-LCH | lch(56.45, 47.66, 89.64°) |
| OKLab | oklab(62.47% -0.0033 0.1071) |
| OKLCH | oklch(62.47% 0.107 91.8) |
| XYZ | xyz(23.2203, 24.3607, 6.2748) |
| Luminance | 0.2436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.75
Dark Mustard
#A88905
ΔE00 4.51
Yellowish Brown
#9B7A01
ΔE00 4.98
Baby Poop
#937C00
ΔE00 5.01
Yellowy Brown
#AE8B0C
ΔE00 5.16
Puke Brown
#947706
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8530 #304A9F
analogous
#9F4D30 #9F8530 #819F30
triadic
#9F8530 #309F85 #85309F
tetradic
#9F8530 #309F4D #304A9F #9F3081
square
#9F8530 #309F4D #304A9F #9F3081
split-complementary
#9F8530 #30819F #4D309F
monochromatic
#413614 #705E22 #9F8530 #C7A945 #D5BE74
Accessibility & contrast
On white
3.58
#9F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9F8530 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8530
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8530 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#AC7A73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f8530; /* rgb */ color: rgb(159, 133, 48); /* oklch */ color: oklch(62.5% 0.107 91.8);
Tailwind
colors: {
custom: {
50: '#bfa86d',
500: '#9f8530',
950: '#000000',
},
}SCSS
$custom: #9f8530; $custom-light: #bfa86d; $custom-dark: #000000;
JSON
{
"hex": "#9f8530",
"rgb": {
"r": 159,
"g": 133,
"b": 48
},
"hsl": {
"h": 45.946,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.62472,
"c": 0.10713,
"h": 91.8
},
"luminance": 0.24359
}Semantic roles & 50–950 ramp
primary
#9F8530
secondary
#6E80BD
accent
#6DDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A