#9F9B16#9F9B16
#9F9B16 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.139 H 107.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9B16 |
|---|---|
| RGB | rgb(159, 155, 22) |
| HSL | hsl(58, 76%, 35%) |
| HSV | hsv(58, 86%, 62%) |
| CMYK | cmyk(0%, 2.5%, 86.2%, 37.6%) |
| CIE-LAB | lab(62.40, -12.67, 61.97) |
| CIE-LCH | lch(62.40, 63.25, 101.55°) |
| OKLab | oklab(67.15% -0.0424 0.1327) |
| OKLCH | oklch(67.15% 0.139 107.7) |
| XYZ | xyz(26.1654, 30.8725, 5.3396) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.92
Pea Soup
#929901
ΔE00 3.12
Puke
#A5A502
ΔE00 3.29
Baby Poop Green
#8F9805
ΔE00 3.78
Baby Shit Green
#889717
ΔE00 5.66
Pea Soup Green
#94A617
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9B16 #161A9F
analogous
#9F5616 #9F9B16 #5E9F16
triadic
#9F9B16 #169F9B #9B169F
tetradic
#9F9B16 #169F56 #161A9F #9F165E
square
#9F9B16 #169F56 #161A9F #9F165E
split-complementary
#9F9B16 #165E9F #56169F
monochromatic
#333207 #69670F #9F9B16 #D5CF1D #E6E14A
Accessibility & contrast
On white
2.93
#9F9B16 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#9F9B16 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9B16
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9B16 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#AB9924
Tritanopia (blue-blind)
#AB9084
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9f9b16; /* rgb */ color: rgb(159, 155, 22); /* oklch */ color: oklch(67.2% 0.139 107.7);
Tailwind
colors: {
custom: {
50: '#bfb864',
500: '#9f9b16',
950: '#000000',
},
}SCSS
$custom: #9f9b16; $custom-light: #bfb864; $custom-dark: #000000;
JSON
{
"hex": "#9f9b16",
"rgb": {
"r": 159,
"g": 155,
"b": 22
},
"hsl": {
"h": 58.248,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.67153,
"c": 0.13927,
"h": 107.7
},
"luminance": 0.30872
}Semantic roles & 50–950 ramp
primary
#9F9B16
secondary
#4A4DC7
accent
#3BF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A