#9F8922#9F8922
#9F8922 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.119 H 96.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8922 |
|---|---|
| RGB | rgb(159, 137, 34) |
| HSL | hsl(49, 65%, 38%) |
| HSV | hsv(49, 79%, 62%) |
| CMYK | cmyk(0%, 13.8%, 78.6%, 37.6%) |
| CIE-LAB | lab(57.44, -2.59, 54.19) |
| CIE-LCH | lch(57.44, 54.26, 92.74°) |
| OKLab | oklab(63.23% -0.0131 0.1182) |
| OKLCH | oklch(63.23% 0.119 96.3) |
| XYZ | xyz(23.5337, 25.3790, 5.1721) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.91
Dark Mustard
#A88905
ΔE00 3.26
Baby Poo
#AB9004
ΔE00 3.88
Baby Shit Brown
#AD900D
ΔE00 4.00
Yellowy Brown
#AE8B0C
ΔE00 4.41
Baby Poop
#937C00
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8922 #22389F
analogous
#9F4A22 #9F8922 #769F22
triadic
#9F8922 #229F89 #89229F
tetradic
#9F8922 #229F4A #22389F #9F2276
square
#9F8922 #229F4A #22389F #9F2276
split-complementary
#9F8922 #22769F #4A229F
monochromatic
#3A320C #6D5E17 #9F8922 #D1B42D #DDC75F
Accessibility & contrast
On white
3.46
#9F8922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8922
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8922 | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#AC7E75
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8922; /* rgb */ color: rgb(159, 137, 34); /* oklch */ color: oklch(63.2% 0.119 96.3);
Tailwind
colors: {
custom: {
50: '#bfab66',
500: '#9f8922',
950: '#000000',
},
}SCSS
$custom: #9f8922; $custom-light: #bfab66; $custom-dark: #000000;
JSON
{
"hex": "#9f8922",
"rgb": {
"r": 159,
"g": 137,
"b": 34
},
"hsl": {
"h": 49.44,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.63229,
"c": 0.11892,
"h": 96.3
},
"luminance": 0.25378
}Semantic roles & 50–950 ramp
primary
#9F8922
secondary
#5B6DC1
accent
#5EE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A