#9F9930#9F9930
#9F9930 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.124 H 106.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9930 |
|---|---|
| RGB | rgb(159, 153, 48) |
| HSL | hsl(57, 54%, 41%) |
| HSV | hsv(57, 70%, 62%) |
| CMYK | cmyk(0%, 3.8%, 69.8%, 37.6%) |
| CIE-LAB | lab(61.97, -10.57, 53.27) |
| CIE-LCH | lch(61.97, 54.31, 101.23°) |
| OKLab | oklab(66.85% -0.0342 0.1189) |
| OKLCH | oklch(66.85% 0.124 106.1) |
| XYZ | xyz(26.2238, 30.3677, 7.2759) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.34
Vomit
#A2A415
ΔE00 4.58
Baby Poop Green
#8F9805
ΔE00 4.69
Puke
#A5A502
ΔE00 5.21
Baby Shit Green
#889717
ΔE00 5.88
Pea Soup Green
#94A617
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9930 #30369F
analogous
#9F6130 #9F9930 #6D9F30
triadic
#9F9930 #309F99 #99309F
tetradic
#9F9930 #309F61 #30369F #9F306D
square
#9F9930 #309F61 #30369F #9F306D
split-complementary
#9F9930 #306D9F #61309F
monochromatic
#413F14 #706C22 #9F9930 #C7C045 #D5D074
Accessibility & contrast
On white
2.97
#9F9930 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#9F9930 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9930
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9930 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9930 | 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)
#A69320
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9930; /* rgb */ color: rgb(159, 153, 48); /* oklch */ color: oklch(66.9% 0.124 106.1);
Tailwind
colors: {
custom: {
50: '#beb66f',
500: '#9f9930',
950: '#000000',
},
}SCSS
$custom: #9f9930; $custom-light: #beb66f; $custom-dark: #000000;
JSON
{
"hex": "#9f9930",
"rgb": {
"r": 159,
"g": 153,
"b": 48
},
"hsl": {
"h": 56.757,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.66852,
"c": 0.12377,
"h": 106.1
},
"luminance": 0.30367
}Semantic roles & 50–950 ramp
primary
#9F9930
secondary
#6E72BD
accent
#53DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B