#9F9924#9F9924
#9F9924 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.131 H 106.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9924 |
|---|---|
| RGB | rgb(159, 153, 36) |
| HSL | hsl(57, 63%, 38%) |
| HSV | hsv(57, 77%, 62%) |
| CMYK | cmyk(0%, 3.8%, 77.4%, 37.6%) |
| CIE-LAB | lab(61.90, -11.15, 57.59) |
| CIE-LCH | lch(61.90, 58.66, 100.96°) |
| OKLab | oklab(66.77% -0.0371 0.1259) |
| OKLCH | oklch(66.77% 0.131 106.4) |
| XYZ | xyz(26.0088, 30.2817, 6.1437) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.71
Vomit
#A2A415
ΔE00 3.94
Baby Poop Green
#8F9805
ΔE00 4.20
Puke
#A5A502
ΔE00 4.43
Baby Shit Green
#889717
ΔE00 5.79
Brown Yellow
#B29705
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9924 #242A9F
analogous
#9F5B24 #9F9924 #679F24
triadic
#9F9924 #249F99 #99249F
tetradic
#9F9924 #249F5B #242A9F #9F2467
square
#9F9924 #249F5B #242A9F #9F2467
split-complementary
#9F9924 #24679F #5B249F
monochromatic
#3B390D #6D6919 #9F9924 #D0C830 #DBD662
Accessibility & contrast
On white
2.98
#9F9924 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#9F9924 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9924
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9924 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9924 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79306
Deuteranopia (green-blind)
#A9982D
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9924; /* rgb */ color: rgb(159, 153, 36); /* oklch */ color: oklch(66.8% 0.131 106.4);
Tailwind
colors: {
custom: {
50: '#bfb669',
500: '#9f9924',
950: '#000000',
},
}SCSS
$custom: #9f9924; $custom-light: #bfb669; $custom-dark: #000000;
JSON
{
"hex": "#9f9924",
"rgb": {
"r": 159,
"g": 153,
"b": 36
},
"hsl": {
"h": 57.073,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.6677,
"c": 0.13119,
"h": 106.4
},
"luminance": 0.30281
}Semantic roles & 50–950 ramp
primary
#9F9924
secondary
#5E63C1
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A