#9F9A24#9F9A24
#9F9A24 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.132 H 107.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9A24 |
|---|---|
| RGB | rgb(159, 154, 36) |
| HSL | hsl(58, 63%, 38%) |
| HSV | hsv(58, 77%, 62%) |
| CMYK | cmyk(0%, 3.1%, 77.4%, 37.6%) |
| CIE-LAB | lab(62.18, -11.68, 57.85) |
| CIE-LCH | lch(62.18, 59.02, 101.41°) |
| OKLab | oklab(66.99% -0.0385 0.1264) |
| OKLCH | oklch(66.99% 0.132 107) |
| XYZ | xyz(26.1732, 30.6104, 6.1984) |
| Luminance | 0.3061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.51
Vomit
#A2A415
ΔE00 3.58
Baby Poop Green
#8F9805
ΔE00 4.02
Puke
#A5A502
ΔE00 4.12
Baby Shit Green
#889717
ΔE00 5.62
Pea Soup Green
#94A617
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9A24 #24299F
analogous
#9F5C24 #9F9A24 #669F24
triadic
#9F9A24 #249F9A #9A249F
tetradic
#9F9A24 #249F5C #24299F #9F2466
square
#9F9A24 #249F5C #24299F #9F2466
split-complementary
#9F9A24 #24669F #5C249F
monochromatic
#3B390D #6D6A19 #9F9A24 #D0CA30 #DBD762
Accessibility & contrast
On white
2.95
#9F9A24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#9F9A24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9A24
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9A24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9A24 | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89405
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9a24; /* rgb */ color: rgb(159, 154, 36); /* oklch */ color: oklch(67.0% 0.132 107.0);
Tailwind
colors: {
custom: {
50: '#bfb769',
500: '#9f9a24',
950: '#000000',
},
}SCSS
$custom: #9f9a24; $custom-light: #bfb769; $custom-dark: #000000;
JSON
{
"hex": "#9f9a24",
"rgb": {
"r": 159,
"g": 154,
"b": 36
},
"hsl": {
"h": 57.561,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.66994,
"c": 0.13214,
"h": 107
},
"luminance": 0.3061
}Semantic roles & 50–950 ramp
primary
#9F9A24
secondary
#5E62C1
accent
#48E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A