#9F9933#9F9933
#9F9933 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.122 H 106.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9933 |
|---|---|
| RGB | rgb(159, 153, 51) |
| HSL | hsl(57, 51%, 41%) |
| HSV | hsv(57, 68%, 62%) |
| CMYK | cmyk(0%, 3.8%, 67.9%, 37.6%) |
| CIE-LAB | lab(61.99, -10.40, 52.07) |
| CIE-LCH | lch(61.99, 53.10, 101.30°) |
| OKLab | oklab(66.88% -0.0334 0.1169) |
| OKLCH | oklch(66.88% 0.122 106) |
| XYZ | xyz(26.2878, 30.3933, 7.6131) |
| Luminance | 0.3039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.57
Vomit
#A2A415
ΔE00 4.80
Baby Poop Green
#8F9805
ΔE00 4.88
Puke
#A5A502
ΔE00 5.47
Baby Shit Green
#889717
ΔE00 5.96
Pea Soup Green
#94A617
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9933 #33399F
analogous
#9F6333 #9F9933 #6F9F33
triadic
#9F9933 #339F99 #99339F
tetradic
#9F9933 #339F63 #33399F #9F336F
square
#9F9933 #339F63 #33399F #9F336F
split-complementary
#9F9933 #336F9F #63339F
monochromatic
#424015 #716C24 #9F9933 #C5BE4A #D4CF79
Accessibility & contrast
On white
2.97
#9F9933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#9F9933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9933
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9933 | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9933; /* rgb */ color: rgb(159, 153, 51); /* oklch */ color: oklch(66.9% 0.122 106.0);
Tailwind
colors: {
custom: {
50: '#beb671',
500: '#9f9933',
950: '#000000',
},
}SCSS
$custom: #9f9933; $custom-light: #beb671; $custom-dark: #000000;
JSON
{
"hex": "#9f9933",
"rgb": {
"r": 159,
"g": 153,
"b": 51
},
"hsl": {
"h": 56.667,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.66877,
"c": 0.12162,
"h": 106
},
"luminance": 0.30392
}Semantic roles & 50–950 ramp
primary
#9F9933
secondary
#7176BC
accent
#55DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B