#9F9C16#9F9C16
#9F9C16 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.140 H 108.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9C16 |
|---|---|
| RGB | rgb(159, 156, 22) |
| HSL | hsl(59, 76%, 35%) |
| HSV | hsv(59, 86%, 62%) |
| CMYK | cmyk(0%, 1.9%, 86.2%, 37.6%) |
| CIE-LAB | lab(62.68, -13.19, 62.20) |
| CIE-LCH | lch(62.68, 63.58, 101.98°) |
| OKLab | oklab(67.38% -0.0438 0.1332) |
| OKLCH | oklch(67.38% 0.14 108.2) |
| XYZ | xyz(26.3325, 31.2067, 5.3953) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.57
Puke
#A5A502
ΔE00 2.99
Pea Soup
#929901
ΔE00 3.00
Baby Poop Green
#8F9805
ΔE00 3.67
Pea Soup Green
#94A617
ΔE00 5.48
Baby Shit Green
#889717
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9C16 #16199F
analogous
#9F5716 #9F9C16 #5D9F16
triadic
#9F9C16 #169F9C #9C169F
tetradic
#9F9C16 #169F57 #16199F #9F165D
square
#9F9C16 #169F57 #16199F #9F165D
split-complementary
#9F9C16 #165D9F #57169F
monochromatic
#333307 #69670F #9F9C16 #D5D11D #E6E24A
Accessibility & contrast
On white
2.90
#9F9C16 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#9F9C16 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9C16
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9C16 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A24
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9c16; /* rgb */ color: rgb(159, 156, 22); /* oklch */ color: oklch(67.4% 0.140 108.2);
Tailwind
colors: {
custom: {
50: '#bfb864',
500: '#9f9c16',
950: '#000000',
},
}SCSS
$custom: #9f9c16; $custom-light: #bfb864; $custom-dark: #000000;
JSON
{
"hex": "#9f9c16",
"rgb": {
"r": 159,
"g": 156,
"b": 22
},
"hsl": {
"h": 58.686,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.67378,
"c": 0.1402,
"h": 108.2
},
"luminance": 0.31206
}Semantic roles & 50–950 ramp
primary
#9F9C16
secondary
#4A4CC7
accent
#3AF236
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A