#9F9823#9F9823
#9F9823 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.131 H 105.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9823 |
|---|---|
| RGB | rgb(159, 152, 35) |
| HSL | hsl(57, 64%, 38%) |
| HSV | hsv(57, 78%, 62%) |
| CMYK | cmyk(0%, 4.4%, 78%, 37.6%) |
| CIE-LAB | lab(61.61, -10.66, 57.66) |
| CIE-LCH | lch(61.61, 58.64, 100.47°) |
| OKLab | oklab(66.54% -0.0358 0.1258) |
| OKLCH | oklch(66.54% 0.131 105.9) |
| XYZ | xyz(25.8308, 29.9497, 6.0100) |
| Luminance | 0.2995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.91
Vomit
#A2A415
ΔE00 4.27
Baby Poop Green
#8F9805
ΔE00 4.39
Puke
#A5A502
ΔE00 4.71
Baby Shit Green
#889717
ΔE00 5.98
Brown Yellow
#B29705
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9823 #232A9F
analogous
#9F5A23 #9F9823 #689F23
triadic
#9F9823 #239F98 #98239F
tetradic
#9F9823 #239F5A #232A9F #9F2368
square
#9F9823 #239F5A #232A9F #9F2368
split-complementary
#9F9823 #23689F #5A239F
monochromatic
#3B380D #6D6818 #9F9823 #D1C82E #DCD560
Accessibility & contrast
On white
3.00
#9F9823 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#9F9823 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9823
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9823 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9823 | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69204
Deuteranopia (green-blind)
#A8972C
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9f9823; /* rgb */ color: rgb(159, 152, 35); /* oklch */ color: oklch(66.5% 0.131 105.9);
Tailwind
colors: {
custom: {
50: '#bfb668',
500: '#9f9823',
950: '#000000',
},
}SCSS
$custom: #9f9823; $custom-light: #bfb668; $custom-dark: #000000;
JSON
{
"hex": "#9f9823",
"rgb": {
"r": 159,
"g": 152,
"b": 35
},
"hsl": {
"h": 56.613,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.66541,
"c": 0.13079,
"h": 105.9
},
"luminance": 0.29949
}Semantic roles & 50–950 ramp
primary
#9F9823
secondary
#5D62C1
accent
#4AE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A