#9F9B24#9F9B24
#9F9B24 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.2% C 0.133 H 107.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9B24 |
|---|---|
| RGB | rgb(159, 155, 36) |
| HSL | hsl(58, 63%, 38%) |
| HSV | hsv(58, 77%, 62%) |
| CMYK | cmyk(0%, 2.5%, 77.4%, 37.6%) |
| CIE-LAB | lab(62.46, -12.20, 58.11) |
| CIE-LCH | lch(62.46, 59.38, 101.86°) |
| OKLab | oklab(67.22% -0.04 0.127) |
| OKLCH | oklch(67.22% 0.133 107.5) |
| XYZ | xyz(26.3389, 30.9419, 6.2537) |
| Luminance | 0.3094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.23
Pea Soup
#929901
ΔE00 3.35
Puke
#A5A502
ΔE00 3.82
Baby Poop Green
#8F9805
ΔE00 3.88
Baby Shit Green
#889717
ΔE00 5.47
Pea Soup Green
#94A617
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9B24 #24289F
analogous
#9F5D24 #9F9B24 #659F24
triadic
#9F9B24 #249F9B #9B249F
tetradic
#9F9B24 #249F5D #24289F #9F2465
square
#9F9B24 #249F5D #24289F #9F2465
split-complementary
#9F9B24 #24659F #5D249F
monochromatic
#3B3A0D #6D6A19 #9F9B24 #D0CB30 #DBD762
Accessibility & contrast
On white
2.92
#9F9B24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#9F9B24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9B24
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9B24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9B24 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99505
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#AB9085
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9f9b24; /* rgb */ color: rgb(159, 155, 36); /* oklch */ color: oklch(67.2% 0.133 107.5);
Tailwind
colors: {
custom: {
50: '#bfb869',
500: '#9f9b24',
950: '#000000',
},
}SCSS
$custom: #9f9b24; $custom-light: #bfb869; $custom-dark: #000000;
JSON
{
"hex": "#9f9b24",
"rgb": {
"r": 159,
"g": 155,
"b": 36
},
"hsl": {
"h": 58.049,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.67218,
"c": 0.13311,
"h": 107.5
},
"luminance": 0.30941
}Semantic roles & 50–950 ramp
primary
#9F9B24
secondary
#5E61C1
accent
#47E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A