#9F9730#9F9730
#9F9730 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.122 H 104.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9730 |
|---|---|
| RGB | rgb(159, 151, 48) |
| HSL | hsl(56, 54%, 41%) |
| HSV | hsv(56, 70%, 62%) |
| CMYK | cmyk(0%, 5%, 69.8%, 37.6%) |
| CIE-LAB | lab(61.41, -9.51, 52.71) |
| CIE-LCH | lch(61.41, 53.56, 100.23°) |
| OKLab | oklab(66.41% -0.0312 0.1178) |
| OKLCH | oklch(66.41% 0.122 104.9) |
| XYZ | xyz(25.8992, 29.7185, 7.1677) |
| Luminance | 0.2972 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.82
Baby Poop Green
#8F9805
ΔE00 5.14
Vomit
#A2A415
ΔE00 5.26
Puke
#A5A502
ΔE00 5.82
Baby Shit Green
#889717
ΔE00 6.31
Baby Poo
#AB9004
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9730 #30389F
analogous
#9F6030 #9F9730 #6F9F30
triadic
#9F9730 #309F97 #97309F
tetradic
#9F9730 #309F60 #30389F #9F306F
square
#9F9730 #309F60 #30389F #9F306F
split-complementary
#9F9730 #306F9F #60309F
monochromatic
#413E14 #706A22 #9F9730 #C7BE45 #D5CE74
Accessibility & contrast
On white
3.02
#9F9730 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9F9730 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9730
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9730 | 1.00 | 3.02 | 6.94 | 6.94 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9f9730; /* rgb */ color: rgb(159, 151, 48); /* oklch */ color: oklch(66.4% 0.122 104.9);
Tailwind
colors: {
custom: {
50: '#bfb56f',
500: '#9f9730',
950: '#000000',
},
}SCSS
$custom: #9f9730; $custom-light: #bfb56f; $custom-dark: #000000;
JSON
{
"hex": "#9f9730",
"rgb": {
"r": 159,
"g": 151,
"b": 48
},
"hsl": {
"h": 55.676,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.66407,
"c": 0.12184,
"h": 104.9
},
"luminance": 0.29718
}Semantic roles & 50–950 ramp
primary
#9F9730
secondary
#6E73BD
accent
#55DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B