#9F9A23#9F9A23
#9F9A23 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.133 H 107.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9A23 |
|---|---|
| RGB | rgb(159, 154, 35) |
| HSL | hsl(58, 64%, 38%) |
| HSV | hsv(58, 78%, 62%) |
| CMYK | cmyk(0%, 3.1%, 78%, 37.6%) |
| CIE-LAB | lab(62.17, -11.72, 58.17) |
| CIE-LCH | lch(62.17, 59.34, 101.39°) |
| OKLab | oklab(66.99% -0.0387 0.1269) |
| OKLCH | oklch(66.99% 0.133 107) |
| XYZ | xyz(26.1581, 30.6044, 6.1191) |
| Luminance | 0.3060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.48
Vomit
#A2A415
ΔE00 3.54
Baby Poop Green
#8F9805
ΔE00 4.00
Puke
#A5A502
ΔE00 4.07
Baby Shit Green
#889717
ΔE00 5.62
Pea Soup Green
#94A617
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9A23 #23289F
analogous
#9F5C23 #9F9A23 #669F23
triadic
#9F9A23 #239F9A #9A239F
tetradic
#9F9A23 #239F5C #23289F #9F2366
square
#9F9A23 #239F5C #23289F #9F2366
split-complementary
#9F9A23 #23669F #5C239F
monochromatic
#3B390D #6D6918 #9F9A23 #D1CA2E #DCD760
Accessibility & contrast
On white
2.95
#9F9A23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#9F9A23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9A23
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9A23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9A23 | 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)
#A89403
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9a23; /* rgb */ color: rgb(159, 154, 35); /* oklch */ color: oklch(67.0% 0.133 107.0);
Tailwind
colors: {
custom: {
50: '#bfb769',
500: '#9f9a23',
950: '#000000',
},
}SCSS
$custom: #9f9a23; $custom-light: #bfb769; $custom-dark: #000000;
JSON
{
"hex": "#9f9a23",
"rgb": {
"r": 159,
"g": 154,
"b": 35
},
"hsl": {
"h": 57.581,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.66988,
"c": 0.13267,
"h": 107
},
"luminance": 0.30603
}Semantic roles & 50–950 ramp
primary
#9F9A23
secondary
#5D61C1
accent
#48E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A