#9F8320#9F8320
#9F8320 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.116 H 92.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8320 |
|---|---|
| RGB | rgb(159, 131, 32) |
| HSL | hsl(47, 66%, 37%) |
| HSV | hsv(47, 80%, 62%) |
| CMYK | cmyk(0%, 17.6%, 79.9%, 37.6%) |
| CIE-LAB | lab(55.80, 0.65, 53.39) |
| CIE-LCH | lch(55.80, 53.39, 89.31°) |
| OKLab | oklab(61.92% -0.0041 0.116) |
| OKLCH | oklch(61.92% 0.116 92) |
| XYZ | xyz(22.6764, 23.7092, 4.7482) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.99
Dark Mustard
#A88905
ΔE00 3.33
Yellowish Brown
#9B7A01
ΔE00 3.52
Baby Poop
#937C00
ΔE00 3.75
Yellowy Brown
#AE8B0C
ΔE00 4.27
Puke Brown
#947706
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8320 #203C9F
analogous
#9F4420 #9F8320 #7B9F20
triadic
#9F8320 #209F83 #83209F
tetradic
#9F8320 #209F44 #203C9F #9F207B
square
#9F8320 #209F44 #203C9F #9F207B
split-complementary
#9F8320 #207B9F #44209F
monochromatic
#392F0B #6C5916 #9F8320 #D2AD2A #DEC15B
Accessibility & contrast
On white
3.66
#9F8320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#9F8320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8320
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8320 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#AD7870
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8320; /* rgb */ color: rgb(159, 131, 32); /* oklch */ color: oklch(61.9% 0.116 92.0);
Tailwind
colors: {
custom: {
50: '#c0a664',
500: '#9f8320',
950: '#000000',
},
}SCSS
$custom: #9f8320; $custom-light: #c0a664; $custom-dark: #000000;
JSON
{
"hex": "#9f8320",
"rgb": {
"r": 159,
"g": 131,
"b": 32
},
"hsl": {
"h": 46.772,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.61923,
"c": 0.11611,
"h": 92
},
"luminance": 0.23708
}Semantic roles & 50–950 ramp
primary
#9F8320
secondary
#5970C2
accent
#64E93E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A