#9F8121#9F8121
#9F8121 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.114 H 90.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8121 |
|---|---|
| RGB | rgb(159, 129, 33) |
| HSL | hsl(46, 66%, 38%) |
| HSV | hsv(46, 79%, 62%) |
| CMYK | cmyk(0%, 18.9%, 79.2%, 37.6%) |
| CIE-LAB | lab(55.26, 1.80, 52.54) |
| CIE-LCH | lch(55.26, 52.58, 88.04°) |
| OKLab | oklab(61.5% -0.0007 0.1144) |
| OKLCH | oklch(61.5% 0.114 90.4) |
| XYZ | xyz(22.4242, 23.1827, 4.7322) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.56
Yellowish Brown
#9B7A01
ΔE00 2.96
Baby Poop
#937C00
ΔE00 3.88
Dark Mustard
#A88905
ΔE00 3.93
Puke Brown
#947706
ΔE00 4.01
Yellowy Brown
#AE8B0C
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8121 #213F9F
analogous
#9F4221 #9F8121 #7E9F21
triadic
#9F8121 #219F81 #81219F
tetradic
#9F8121 #219F42 #213F9F #9F217E
square
#9F8121 #219F42 #213F9F #9F217E
split-complementary
#9F8121 #217E9F #42219F
monochromatic
#3A2F0C #6C5816 #9F8121 #D2AA2C #DDBF5D
Accessibility & contrast
On white
3.73
#9F8121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#9F8121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8121
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8121 | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#AD756F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8121; /* rgb */ color: rgb(159, 129, 33); /* oklch */ color: oklch(61.5% 0.114 90.4);
Tailwind
colors: {
custom: {
50: '#c0a565',
500: '#9f8121',
950: '#000000',
},
}SCSS
$custom: #9f8121; $custom-light: #c0a565; $custom-dark: #000000;
JSON
{
"hex": "#9f8121",
"rgb": {
"r": 159,
"g": 129,
"b": 33
},
"hsl": {
"h": 45.714,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.61503,
"c": 0.11444,
"h": 90.4
},
"luminance": 0.23181
}Semantic roles & 50–950 ramp
primary
#9F8121
secondary
#5A73C2
accent
#68E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A