#9F992F#9F992F
#9F992F is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.8% C 0.124 H 106.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F992F |
|---|---|
| RGB | rgb(159, 153, 47) |
| HSL | hsl(57, 54%, 40%) |
| HSV | hsv(57, 70%, 62%) |
| CMYK | cmyk(0%, 3.8%, 70.4%, 37.6%) |
| CIE-LAB | lab(61.96, -10.63, 53.66) |
| CIE-LCH | lch(61.96, 54.70, 101.20°) |
| OKLab | oklab(66.85% -0.0345 0.1196) |
| OKLCH | oklch(66.85% 0.124 106.1) |
| XYZ | xyz(26.2034, 30.3596, 7.1685) |
| Luminance | 0.3036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.27
Vomit
#A2A415
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 4.63
Puke
#A5A502
ΔE00 5.13
Baby Shit Green
#889717
ΔE00 5.85
Pea Soup Green
#94A617
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F992F #2F359F
analogous
#9F612F #9F992F #6D9F2F
triadic
#9F992F #2F9F99 #992F9F
tetradic
#9F992F #2F9F61 #2F359F #9F2F6D
square
#9F992F #2F9F61 #2F359F #9F2F6D
split-complementary
#9F992F #2F6D9F #612F9F
monochromatic
#413E13 #706C21 #9F992F #C8C144 #D6D073
Accessibility & contrast
On white
2.97
#9F992F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#9F992F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F992F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F992F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F992F | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f992f; /* rgb */ color: rgb(159, 153, 47); /* oklch */ color: oklch(66.8% 0.124 106.1);
Tailwind
colors: {
custom: {
50: '#bfb66e',
500: '#9f992f',
950: '#000000',
},
}SCSS
$custom: #9f992f; $custom-light: #bfb66e; $custom-dark: #000000;
JSON
{
"hex": "#9f992f",
"rgb": {
"r": 159,
"g": 153,
"b": 47
},
"hsl": {
"h": 56.786,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.66845,
"c": 0.12446,
"h": 106.1
},
"luminance": 0.30359
}Semantic roles & 50–950 ramp
primary
#9F992F
secondary
#6D71BD
accent
#52DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B