#9F9D20#9F9D20
#9F9D20 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.137 H 108.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D20 |
|---|---|
| RGB | rgb(159, 157, 32) |
| HSL | hsl(59, 66%, 37%) |
| HSV | hsv(59, 80%, 62%) |
| CMYK | cmyk(0%, 1.3%, 79.9%, 37.6%) |
| CIE-LAB | lab(63.00, -13.41, 59.84) |
| CIE-LCH | lch(63.00, 61.33, 102.63°) |
| OKLab | oklab(67.65% -0.0437 0.1299) |
| OKLCH | oklch(67.65% 0.137 108.6) |
| XYZ | xyz(26.6168, 31.5900, 6.0616) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.41
Pea Soup
#929901
ΔE00 3.03
Puke
#A5A502
ΔE00 3.08
Baby Poop Green
#8F9805
ΔE00 3.63
Pea Soup Green
#94A617
ΔE00 5.10
Baby Shit Green
#889717
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D20 #20229F
analogous
#9F5D20 #9F9D20 #629F20
triadic
#9F9D20 #209F9D #9D209F
tetradic
#9F9D20 #209F5D #20229F #9F2062
square
#9F9D20 #209F5D #20229F #9F2062
split-complementary
#9F9D20 #20629F #5D209F
monochromatic
#39380B #6C6B16 #9F9D20 #D2CF2A #DEDC5B
Accessibility & contrast
On white
2.87
#9F9D20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#9F9D20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D20
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D20 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9d20; /* rgb */ color: rgb(159, 157, 32); /* oklch */ color: oklch(67.6% 0.137 108.6);
Tailwind
colors: {
custom: {
50: '#bfb968',
500: '#9f9d20',
950: '#000000',
},
}SCSS
$custom: #9f9d20; $custom-light: #bfb968; $custom-dark: #000000;
JSON
{
"hex": "#9f9d20",
"rgb": {
"r": 159,
"g": 157,
"b": 32
},
"hsl": {
"h": 59.055,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.67646,
"c": 0.13705,
"h": 108.6
},
"luminance": 0.31589
}Semantic roles & 50–950 ramp
primary
#9F9D20
secondary
#595AC2
accent
#41E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A