#9F9C2F#9F9C2F
#9F9C2F is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.127 H 107.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9C2F |
|---|---|
| RGB | rgb(159, 156, 47) |
| HSL | hsl(58, 54%, 40%) |
| HSV | hsv(58, 70%, 62%) |
| CMYK | cmyk(0%, 1.9%, 70.4%, 37.6%) |
| CIE-LAB | lab(62.81, -12.21, 54.50) |
| CIE-LCH | lch(62.81, 55.85, 102.63°) |
| OKLab | oklab(67.52% -0.039 0.1213) |
| OKLCH | oklch(67.52% 0.127 107.8) |
| XYZ | xyz(26.7006, 31.3540, 7.3342) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.57
Pea Soup
#929901
ΔE00 3.79
Baby Poop Green
#8F9805
ΔE00 4.17
Puke
#A5A502
ΔE00 4.34
Baby Shit Green
#889717
ΔE00 5.39
Pea Soup Green
#94A617
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9C2F #2F329F
analogous
#9F642F #9F9C2F #6A9F2F
triadic
#9F9C2F #2F9F9C #9C2F9F
tetradic
#9F9C2F #2F9F64 #2F329F #9F2F6A
square
#9F9C2F #2F9F64 #2F329F #9F2F6A
split-complementary
#9F9C2F #2F6A9F #642F9F
monochromatic
#413F13 #706E21 #9F9C2F #C8C444 #D6D373
Accessibility & contrast
On white
2.89
#9F9C2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#9F9C2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9C2F
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9C2F | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9961D
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#AB9286
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9c2f; /* rgb */ color: rgb(159, 156, 47); /* oklch */ color: oklch(67.5% 0.127 107.8);
Tailwind
colors: {
custom: {
50: '#bfb86f',
500: '#9f9c2f',
950: '#000000',
},
}SCSS
$custom: #9f9c2f; $custom-light: #bfb86f; $custom-dark: #000000;
JSON
{
"hex": "#9f9c2f",
"rgb": {
"r": 159,
"g": 156,
"b": 47
},
"hsl": {
"h": 58.393,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.67516,
"c": 0.12744,
"h": 107.8
},
"luminance": 0.31353
}Semantic roles & 50–950 ramp
primary
#9F9C2F
secondary
#6D6FBD
accent
#4EDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B