#9F9E20#9F9E20
#9F9E20 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.138 H 109.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9E20 |
|---|---|
| RGB | rgb(159, 158, 32) |
| HSL | hsl(60, 66%, 37%) |
| HSV | hsv(60, 80%, 62%) |
| CMYK | cmyk(0%, 0.6%, 79.9%, 37.6%) |
| CIE-LAB | lab(63.28, -13.93, 60.09) |
| CIE-LCH | lch(63.28, 61.69, 103.05°) |
| OKLab | oklab(67.87% -0.0451 0.1304) |
| OKLCH | oklch(67.87% 0.138 109.1) |
| XYZ | xyz(26.7867, 31.9298, 6.1183) |
| Luminance | 0.3193 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.10
Puke
#A5A502
ΔE00 2.84
Pea Soup
#929901
ΔE00 3.00
Baby Poop Green
#8F9805
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 4.77
Baby Shit Green
#889717
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9E20 #20219F
analogous
#9F5F20 #9F9E20 #609F20
triadic
#9F9E20 #209F9E #9E209F
tetradic
#9F9E20 #209F5F #20219F #9F2060
square
#9F9E20 #209F5F #20219F #9F2060
split-complementary
#9F9E20 #20609F #5F209F
monochromatic
#39390B #6C6B16 #9F9E20 #D2D12A #DEDD5B
Accessibility & contrast
On white
2.84
#9F9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#9F9E20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9E20
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9E20 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9e20; /* rgb */ color: rgb(159, 158, 32); /* oklch */ color: oklch(67.9% 0.138 109.1);
Tailwind
colors: {
custom: {
50: '#bfba68',
500: '#9f9e20',
950: '#000000',
},
}SCSS
$custom: #9f9e20; $custom-light: #bfba68; $custom-dark: #000000;
JSON
{
"hex": "#9f9e20",
"rgb": {
"r": 159,
"g": 158,
"b": 32
},
"hsl": {
"h": 59.528,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.67872,
"c": 0.13802,
"h": 109.1
},
"luminance": 0.31929
}Semantic roles & 50–950 ramp
primary
#9F9E20
secondary
#5959C2
accent
#40E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A