#9F9820#9F9820
#9F9820 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.132 H 106.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9820 |
|---|---|
| RGB | rgb(159, 152, 32) |
| HSL | hsl(57, 66%, 37%) |
| HSV | hsv(57, 80%, 62%) |
| CMYK | cmyk(0%, 4.4%, 79.9%, 37.6%) |
| CIE-LAB | lab(61.60, -10.78, 58.60) |
| CIE-LCH | lch(61.60, 59.58, 100.42°) |
| OKLab | oklab(66.52% -0.0364 0.1272) |
| OKLCH | oklch(66.52% 0.132 106) |
| XYZ | xyz(25.7881, 29.9327, 5.7854) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.83
Vomit
#A2A415
ΔE00 4.19
Baby Poop Green
#8F9805
ΔE00 4.34
Puke
#A5A502
ΔE00 4.58
Baby Shit Green
#889717
ΔE00 6.00
Brown Yellow
#B29705
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9820 #20279F
analogous
#9F5920 #9F9820 #669F20
triadic
#9F9820 #209F98 #98209F
tetradic
#9F9820 #209F59 #20279F #9F2066
square
#9F9820 #209F59 #20279F #9F2066
split-complementary
#9F9820 #20669F #59209F
monochromatic
#39370B #6C6716 #9F9820 #D2C92A #DED75B
Accessibility & contrast
On white
3.01
#9F9820 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#9F9820 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9820
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9820 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9820 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9f9820; /* rgb */ color: rgb(159, 152, 32); /* oklch */ color: oklch(66.5% 0.132 106.0);
Tailwind
colors: {
custom: {
50: '#bfb667',
500: '#9f9820',
950: '#000000',
},
}SCSS
$custom: #9f9820; $custom-light: #bfb667; $custom-dark: #000000;
JSON
{
"hex": "#9f9820",
"rgb": {
"r": 159,
"g": 152,
"b": 32
},
"hsl": {
"h": 56.693,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.66524,
"c": 0.13231,
"h": 106
},
"luminance": 0.29932
}Semantic roles & 50–950 ramp
primary
#9F9820
secondary
#595EC2
accent
#48E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A