#9F9522#9F9522
#9F9522 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.129 H 104.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9522 |
|---|---|
| RGB | rgb(159, 149, 34) |
| HSL | hsl(55, 65%, 38%) |
| HSV | hsv(55, 79%, 62%) |
| CMYK | cmyk(0%, 6.3%, 78.6%, 37.6%) |
| CIE-LAB | lab(60.77, -9.10, 57.22) |
| CIE-LCH | lch(60.77, 57.94, 99.04°) |
| OKLab | oklab(65.87% -0.0315 0.1247) |
| OKLCH | oklch(65.87% 0.129 104.2) |
| XYZ | xyz(25.3354, 28.9824, 5.7727) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.72
Baby Poop Green
#8F9805
ΔE00 5.15
Baby Poo
#AB9004
ΔE00 5.28
Vomit
#A2A415
ΔE00 5.38
Brown Yellow
#B29705
ΔE00 5.55
Puke
#A5A502
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9522 #222C9F
analogous
#9F5622 #9F9522 #6A9F22
triadic
#9F9522 #229F95 #95229F
tetradic
#9F9522 #229F56 #222C9F #9F226A
square
#9F9522 #229F56 #222C9F #9F226A
split-complementary
#9F9522 #226A9F #56229F
monochromatic
#3A370C #6D6617 #9F9522 #D1C42D #DDD35F
Accessibility & contrast
On white
3.09
#9F9522 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#9F9522 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9522
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9522 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#A6952B
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f9522; /* rgb */ color: rgb(159, 149, 34); /* oklch */ color: oklch(65.9% 0.129 104.2);
Tailwind
colors: {
custom: {
50: '#bfb368',
500: '#9f9522',
950: '#000000',
},
}SCSS
$custom: #9f9522; $custom-light: #bfb368; $custom-dark: #000000;
JSON
{
"hex": "#9f9522",
"rgb": {
"r": 159,
"g": 149,
"b": 34
},
"hsl": {
"h": 55.2,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.65867,
"c": 0.12859,
"h": 104.2
},
"luminance": 0.28981
}Semantic roles & 50–950 ramp
primary
#9F9522
secondary
#5B64C1
accent
#4DE840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A