#9F8322#9F8322
#9F8322 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.115 H 91.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8322 |
|---|---|
| RGB | rgb(159, 131, 34) |
| HSL | hsl(47, 65%, 38%) |
| HSV | hsv(47, 79%, 62%) |
| CMYK | cmyk(0%, 17.6%, 78.6%, 37.6%) |
| CIE-LAB | lab(55.81, 0.73, 52.69) |
| CIE-LCH | lch(55.81, 52.69, 89.21°) |
| OKLab | oklab(61.94% -0.0037 0.115) |
| OKLCH | oklch(61.94% 0.115 91.8) |
| XYZ | xyz(22.7044, 23.7204, 4.8957) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.20
Dark Mustard
#A88905
ΔE00 3.48
Yellowish Brown
#9B7A01
ΔE00 3.59
Baby Poop
#937C00
ΔE00 3.86
Yellowy Brown
#AE8B0C
ΔE00 4.37
Puke Brown
#947706
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8322 #223E9F
analogous
#9F4422 #9F8322 #7C9F22
triadic
#9F8322 #229F83 #83229F
tetradic
#9F8322 #229F44 #223E9F #9F227C
square
#9F8322 #229F44 #223E9F #9F227C
split-complementary
#9F8322 #227C9F #44229F
monochromatic
#3A300C #6D5917 #9F8322 #D1AD2D #DDC05F
Accessibility & contrast
On white
3.66
#9F8322 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#9F8322 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8322
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8322 | 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)
#92810E
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#AC7870
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8322; /* rgb */ color: rgb(159, 131, 34); /* oklch */ color: oklch(61.9% 0.115 91.8);
Tailwind
colors: {
custom: {
50: '#bfa665',
500: '#9f8322',
950: '#000000',
},
}SCSS
$custom: #9f8322; $custom-light: #bfa665; $custom-dark: #000000;
JSON
{
"hex": "#9f8322",
"rgb": {
"r": 159,
"g": 131,
"b": 34
},
"hsl": {
"h": 46.56,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.61936,
"c": 0.11502,
"h": 91.8
},
"luminance": 0.23719
}Semantic roles & 50–950 ramp
primary
#9F8322
secondary
#5B72C1
accent
#66E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A