#9F9F25#9F9F25
#9F9F25 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.137 H 109.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9F25 |
|---|---|
| RGB | rgb(159, 159, 37) |
| HSL | hsl(60, 62%, 38%) |
| HSV | hsv(60, 77%, 62%) |
| CMYK | cmyk(0%, 0%, 76.7%, 37.6%) |
| CIE-LAB | lab(63.59, -14.26, 58.82) |
| CIE-LCH | lch(63.59, 60.52, 103.62°) |
| OKLab | oklab(68.12% -0.0457 0.1286) |
| OKLCH | oklch(68.12% 0.137 109.5) |
| XYZ | xyz(27.0312, 32.3016, 6.5608) |
| Luminance | 0.3230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.06
Puke
#A5A502
ΔE00 2.95
Pea Soup
#929901
ΔE00 3.15
Baby Poop Green
#8F9805
ΔE00 3.68
Pea Soup Green
#94A617
ΔE00 4.46
Baby Shit Green
#889717
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9F25 #25259F
analogous
#9F6225 #9F9F25 #629F25
triadic
#9F9F25 #259F9F #9F259F
tetradic
#9F9F25 #259F62 #25259F #9F2562
square
#9F9F25 #259F62 #25259F #9F2562
split-complementary
#9F9F25 #25629F #62259F
monochromatic
#3C3C0E #6D6D19 #9F9F25 #CFCF32 #DBDB64
Accessibility & contrast
On white
2.81
#9F9F25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#9F9F25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9F25
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9F25 | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9805
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#AB9488
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9f9f25; /* rgb */ color: rgb(159, 159, 37); /* oklch */ color: oklch(68.1% 0.137 109.5);
Tailwind
colors: {
custom: {
50: '#bfbb6a',
500: '#9f9f25',
950: '#000000',
},
}SCSS
$custom: #9f9f25; $custom-light: #bfbb6a; $custom-dark: #000000;
JSON
{
"hex": "#9f9f25",
"rgb": {
"r": 159,
"g": 159,
"b": 37
},
"hsl": {
"h": 60,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.68124,
"c": 0.13651,
"h": 109.5
},
"luminance": 0.32301
}Semantic roles & 50–950 ramp
primary
#9F9F25
secondary
#5F5FC0
accent
#42E542
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A