#9F9B2F#9F9B2F
#9F9B2F is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.3% C 0.126 H 107.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9B2F |
|---|---|
| RGB | rgb(159, 155, 47) |
| HSL | hsl(58, 54%, 40%) |
| HSV | hsv(58, 70%, 62%) |
| CMYK | cmyk(0%, 2.5%, 70.4%, 37.6%) |
| CIE-LAB | lab(62.52, -11.69, 54.22) |
| CIE-LCH | lch(62.52, 55.46, 102.16°) |
| OKLab | oklab(67.29% -0.0375 0.1208) |
| OKLCH | oklch(67.29% 0.126 107.2) |
| XYZ | xyz(26.5335, 31.0197, 7.2785) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.86
Pea Soup
#929901
ΔE00 3.91
Baby Poop Green
#8F9805
ΔE00 4.29
Puke
#A5A502
ΔE00 4.59
Baby Shit Green
#889717
ΔE00 5.52
Pea Soup Green
#94A617
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9B2F #2F339F
analogous
#9F632F #9F9B2F #6B9F2F
triadic
#9F9B2F #2F9F9B #9B2F9F
tetradic
#9F9B2F #2F9F63 #2F339F #9F2F6B
square
#9F9B2F #2F9F63 #2F339F #9F2F6B
split-complementary
#9F9B2F #2F6B9F #632F9F
monochromatic
#413F13 #706D21 #9F9B2F #C8C344 #D6D273
Accessibility & contrast
On white
2.92
#9F9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#9F9B2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9B2F
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9B2F | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8951E
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#AB9186
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9f9b2f; /* rgb */ color: rgb(159, 155, 47); /* oklch */ color: oklch(67.3% 0.126 107.2);
Tailwind
colors: {
custom: {
50: '#bfb86f',
500: '#9f9b2f',
950: '#000000',
},
}SCSS
$custom: #9f9b2f; $custom-light: #bfb86f; $custom-dark: #000000;
JSON
{
"hex": "#9f9b2f",
"rgb": {
"r": 159,
"g": 155,
"b": 47
},
"hsl": {
"h": 57.857,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.67292,
"c": 0.12645,
"h": 107.2
},
"luminance": 0.31019
}Semantic roles & 50–950 ramp
primary
#9F9B2F
secondary
#6D6FBD
accent
#4FDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B