#9F9B20#9F9B20
#9F9B20 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.135 H 107.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9B20 |
|---|---|
| RGB | rgb(159, 155, 32) |
| HSL | hsl(58, 66%, 37%) |
| HSV | hsv(58, 80%, 62%) |
| CMYK | cmyk(0%, 2.5%, 79.9%, 37.6%) |
| CIE-LAB | lab(62.44, -12.36, 59.35) |
| CIE-LCH | lch(62.44, 60.62, 101.76°) |
| OKLab | oklab(67.2% -0.0408 0.1288) |
| OKLCH | oklch(67.2% 0.135 107.6) |
| XYZ | xyz(26.2812, 30.9188, 5.9498) |
| Luminance | 0.3092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.10
Pea Soup
#929901
ΔE00 3.23
Puke
#A5A502
ΔE00 3.63
Baby Poop Green
#8F9805
ΔE00 3.81
Baby Shit Green
#889717
ΔE00 5.51
Pea Soup Green
#94A617
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9B20 #20249F
analogous
#9F5B20 #9F9B20 #649F20
triadic
#9F9B20 #209F9B #9B209F
tetradic
#9F9B20 #209F5B #20249F #9F2064
square
#9F9B20 #209F5B #20249F #9F2064
split-complementary
#9F9B20 #20649F #5B209F
monochromatic
#39380B #6C6916 #9F9B20 #D2CD2A #DEDA5B
Accessibility & contrast
On white
2.92
#9F9B20 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#9F9B20 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9B20
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9B20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9B20 | 1.00 | 2.92 | 7.18 | 7.18 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#AB9085
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9f9b20; /* rgb */ color: rgb(159, 155, 32); /* oklch */ color: oklch(67.2% 0.135 107.6);
Tailwind
colors: {
custom: {
50: '#bfb867',
500: '#9f9b20',
950: '#000000',
},
}SCSS
$custom: #9f9b20; $custom-light: #bfb867; $custom-dark: #000000;
JSON
{
"hex": "#9f9b20",
"rgb": {
"r": 159,
"g": 155,
"b": 32
},
"hsl": {
"h": 58.11,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.67197,
"c": 0.13513,
"h": 107.6
},
"luminance": 0.30918
}Semantic roles & 50–950 ramp
primary
#9F9B20
secondary
#595CC2
accent
#44E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A