#9F9620#9F9620
#9F9620 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.130 H 104.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9620 |
|---|---|
| RGB | rgb(159, 150, 32) |
| HSL | hsl(56, 66%, 37%) |
| HSV | hsv(56, 80%, 62%) |
| CMYK | cmyk(0%, 5.7%, 79.9%, 37.6%) |
| CIE-LAB | lab(61.04, -9.71, 58.10) |
| CIE-LCH | lch(61.04, 58.91, 99.49°) |
| OKLab | oklab(66.08% -0.0334 0.1262) |
| OKLCH | oklch(66.08% 0.13 104.8) |
| XYZ | xyz(25.4663, 29.2889, 5.6781) |
| Luminance | 0.2929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.37
Baby Poop Green
#8F9805
ΔE00 4.83
Vomit
#A2A415
ΔE00 4.94
Puke
#A5A502
ΔE00 5.28
Baby Poo
#AB9004
ΔE00 5.53
Brown Yellow
#B29705
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9620 #20299F
analogous
#9F5620 #9F9620 #699F20
triadic
#9F9620 #209F96 #96209F
tetradic
#9F9620 #209F56 #20299F #9F2069
square
#9F9620 #209F56 #20299F #9F2069
split-complementary
#9F9620 #20699F #56209F
monochromatic
#39360B #6C6616 #9F9620 #D2C62A #DED55B
Accessibility & contrast
On white
3.06
#9F9620 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9F9620 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9620
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9620 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9620 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#AB8B80
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f9620; /* rgb */ color: rgb(159, 150, 32); /* oklch */ color: oklch(66.1% 0.130 104.8);
Tailwind
colors: {
custom: {
50: '#bfb467',
500: '#9f9620',
950: '#000000',
},
}SCSS
$custom: #9f9620; $custom-light: #bfb467; $custom-dark: #000000;
JSON
{
"hex": "#9f9620",
"rgb": {
"r": 159,
"g": 150,
"b": 32
},
"hsl": {
"h": 55.748,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.66078,
"c": 0.13049,
"h": 104.8
},
"luminance": 0.29288
}Semantic roles & 50–950 ramp
primary
#9F9620
secondary
#5960C2
accent
#4BE93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A