#9F9E25#9F9E25
#9F9E25 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.136 H 109.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9E25 |
|---|---|
| RGB | rgb(159, 158, 37) |
| HSL | hsl(60, 62%, 38%) |
| HSV | hsv(60, 77%, 62%) |
| CMYK | cmyk(0%, 0.6%, 76.7%, 37.6%) |
| CIE-LAB | lab(63.31, -13.73, 58.56) |
| CIE-LCH | lch(63.31, 60.15, 103.20°) |
| OKLab | oklab(67.9% -0.0442 0.1281) |
| OKLCH | oklch(67.9% 0.136 109) |
| XYZ | xyz(26.8599, 31.9591, 6.5037) |
| Luminance | 0.3196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.33
Puke
#A5A502
ΔE00 3.14
Pea Soup
#929901
ΔE00 3.14
Baby Poop Green
#8F9805
ΔE00 3.68
Pea Soup Green
#94A617
ΔE00 4.79
Baby Shit Green
#889717
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9E25 #25269F
analogous
#9F6125 #9F9E25 #639F25
triadic
#9F9E25 #259F9E #9E259F
tetradic
#9F9E25 #259F61 #25269F #9F2563
square
#9F9E25 #259F61 #25269F #9F2563
split-complementary
#9F9E25 #25639F #61259F
monochromatic
#3C3B0E #6D6D19 #9F9E25 #CFCE32 #DBDA64
Accessibility & contrast
On white
2.84
#9F9E25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#9F9E25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9E25
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9E25 | 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)
#AB9705
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9e25; /* rgb */ color: rgb(159, 158, 37); /* oklch */ color: oklch(67.9% 0.136 109.0);
Tailwind
colors: {
custom: {
50: '#bfba6a',
500: '#9f9e25',
950: '#000000',
},
}SCSS
$custom: #9f9e25; $custom-light: #bfba6a; $custom-dark: #000000;
JSON
{
"hex": "#9f9e25",
"rgb": {
"r": 159,
"g": 158,
"b": 37
},
"hsl": {
"h": 59.508,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.67899,
"c": 0.13551,
"h": 109
},
"luminance": 0.31958
}Semantic roles & 50–950 ramp
primary
#9F9E25
secondary
#5F60C0
accent
#44E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A