#9F9D2F#9F9D2F
#9F9D2F is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.128 H 108.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D2F |
|---|---|
| RGB | rgb(159, 157, 47) |
| HSL | hsl(59, 54%, 40%) |
| HSV | hsv(59, 70%, 62%) |
| CMYK | cmyk(0%, 1.3%, 70.4%, 37.6%) |
| CIE-LAB | lab(63.09, -12.74, 54.77) |
| CIE-LCH | lch(63.09, 56.24, 103.09°) |
| OKLab | oklab(67.74% -0.0404 0.1219) |
| OKLCH | oklch(67.74% 0.128 108.4) |
| XYZ | xyz(26.8691, 31.6910, 7.3904) |
| Luminance | 0.3169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.29
Pea Soup
#929901
ΔE00 3.70
Baby Poop Green
#8F9805
ΔE00 4.09
Puke
#A5A502
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 5.28
Pea Soup Green
#94A617
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D2F #2F319F
analogous
#9F652F #9F9D2F #699F2F
triadic
#9F9D2F #2F9F9D #9D2F9F
tetradic
#9F9D2F #2F9F65 #2F319F #9F2F69
square
#9F9D2F #2F9F65 #2F319F #9F2F69
split-complementary
#9F9D2F #2F699F #652F9F
monochromatic
#414013 #706E21 #9F9D2F #C8C544 #D6D473
Accessibility & contrast
On white
2.86
#9F9D2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#9F9D2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D2F
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D2F | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#AC9A37
Tritanopia (blue-blind)
#AA9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9d2f; /* rgb */ color: rgb(159, 157, 47); /* oklch */ color: oklch(67.7% 0.128 108.4);
Tailwind
colors: {
custom: {
50: '#bfb96f',
500: '#9f9d2f',
950: '#000000',
},
}SCSS
$custom: #9f9d2f; $custom-light: #bfb96f; $custom-dark: #000000;
JSON
{
"hex": "#9f9d2f",
"rgb": {
"r": 159,
"g": 157,
"b": 47
},
"hsl": {
"h": 58.929,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.6774,
"c": 0.12846,
"h": 108.4
},
"luminance": 0.3169
}Semantic roles & 50–950 ramp
primary
#9F9D2F
secondary
#6D6EBD
accent
#4DDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B