#9F9732#9F9732
#9F9732 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.120 H 104.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9732 |
|---|---|
| RGB | rgb(159, 151, 50) |
| HSL | hsl(56, 52%, 41%) |
| HSV | hsv(56, 69%, 62%) |
| CMYK | cmyk(0%, 5%, 68.6%, 37.6%) |
| CIE-LAB | lab(61.43, -9.40, 51.91) |
| CIE-LCH | lch(61.43, 52.75, 100.26°) |
| OKLab | oklab(66.42% -0.0307 0.1164) |
| OKLCH | oklch(66.42% 0.12 104.8) |
| XYZ | xyz(25.9414, 29.7354, 7.3900) |
| Luminance | 0.2973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.96
Baby Poop Green
#8F9805
ΔE00 5.26
Vomit
#A2A415
ΔE00 5.40
Puke
#A5A502
ΔE00 5.98
Baby Shit Green
#889717
ΔE00 6.37
Baby Poo
#AB9004
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9732 #323A9F
analogous
#9F6032 #9F9732 #709F32
triadic
#9F9732 #329F97 #97329F
tetradic
#9F9732 #329F60 #323A9F #9F3270
square
#9F9732 #329F60 #323A9F #9F3270
split-complementary
#9F9732 #32709F #60329F
monochromatic
#423F15 #706B23 #9F9732 #C6BC49 #D4CD77
Accessibility & contrast
On white
3.02
#9F9732 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#9F9732 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9732
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9732 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49224
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#AB8D83
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9f9732; /* rgb */ color: rgb(159, 151, 50); /* oklch */ color: oklch(66.4% 0.120 104.8);
Tailwind
colors: {
custom: {
50: '#beb570',
500: '#9f9732',
950: '#000000',
},
}SCSS
$custom: #9f9732; $custom-light: #beb570; $custom-dark: #000000;
JSON
{
"hex": "#9f9732",
"rgb": {
"r": 159,
"g": 151,
"b": 50
},
"hsl": {
"h": 55.596,
"s": 52.153,
"l": 40.98
},
"oklch": {
"l": 0.66423,
"c": 0.1204,
"h": 104.8
},
"luminance": 0.29734
}Semantic roles & 50–950 ramp
primary
#9F9732
secondary
#7076BD
accent
#57DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B