#9F9D25#9F9D25
#9F9D25 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.7% C 0.135 H 108.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D25 |
|---|---|
| RGB | rgb(159, 157, 37) |
| HSL | hsl(59, 62%, 38%) |
| HSV | hsv(59, 77%, 62%) |
| CMYK | cmyk(0%, 1.3%, 76.7%, 37.6%) |
| CIE-LAB | lab(63.03, -13.21, 58.30) |
| CIE-LCH | lch(63.03, 59.78, 102.77°) |
| OKLab | oklab(67.67% -0.0427 0.1276) |
| OKLCH | oklch(67.67% 0.135 108.5) |
| XYZ | xyz(26.6900, 31.6193, 6.4471) |
| Luminance | 0.3162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.63
Pea Soup
#929901
ΔE00 3.18
Puke
#A5A502
ΔE00 3.36
Baby Poop Green
#8F9805
ΔE00 3.71
Pea Soup Green
#94A617
ΔE00 5.13
Baby Shit Green
#889717
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D25 #25279F
analogous
#9F6025 #9F9D25 #649F25
triadic
#9F9D25 #259F9D #9D259F
tetradic
#9F9D25 #259F60 #25279F #9F2564
square
#9F9D25 #259F60 #25279F #9F2564
split-complementary
#9F9D25 #25649F #60259F
monochromatic
#3C3B0E #6D6C19 #9F9D25 #CFCD32 #DBD964
Accessibility & contrast
On white
2.87
#9F9D25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#9F9D25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D25
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D25 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#AB9287
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9d25; /* rgb */ color: rgb(159, 157, 37); /* oklch */ color: oklch(67.7% 0.135 108.5);
Tailwind
colors: {
custom: {
50: '#bfb96a',
500: '#9f9d25',
950: '#000000',
},
}SCSS
$custom: #9f9d25; $custom-light: #bfb96a; $custom-dark: #000000;
JSON
{
"hex": "#9f9d25",
"rgb": {
"r": 159,
"g": 157,
"b": 37
},
"hsl": {
"h": 59.016,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.67674,
"c": 0.13452,
"h": 108.5
},
"luminance": 0.31618
}Semantic roles & 50–950 ramp
primary
#9F9D25
secondary
#5F61C0
accent
#45E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A