#9F9D2D#9F9D2D
#9F9D2D is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.130 H 108.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9D2D |
|---|---|
| RGB | rgb(159, 157, 45) |
| HSL | hsl(59, 56%, 40%) |
| HSV | hsv(59, 72%, 62%) |
| CMYK | cmyk(0%, 1.3%, 71.7%, 37.6%) |
| CIE-LAB | lab(63.07, -12.84, 55.52) |
| CIE-LCH | lch(63.07, 56.99, 103.02°) |
| OKLab | oklab(67.73% -0.0409 0.1232) |
| OKLCH | oklch(67.73% 0.13 108.4) |
| XYZ | xyz(26.8297, 31.6752, 7.1827) |
| Luminance | 0.3167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.13
Pea Soup
#929901
ΔE00 3.57
Puke
#A5A502
ΔE00 3.95
Baby Poop Green
#8F9805
ΔE00 3.99
Baby Shit Green
#889717
ΔE00 5.26
Pea Soup Green
#94A617
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9D2D #2D2F9F
analogous
#9F642D #9F9D2D #689F2D
triadic
#9F9D2D #2D9F9D #9D2D9F
tetradic
#9F9D2D #2D9F64 #2D2F9F #9F2D68
square
#9F9D2D #2D9F64 #2D2F9F #9F2D68
split-complementary
#9F9D2D #2D689F #642D9F
monochromatic
#403F12 #6F6E20 #9F9D2D #C9C740 #D6D570
Accessibility & contrast
On white
2.86
#9F9D2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#9F9D2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9D2D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9D2D | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA971A
Deuteranopia (green-blind)
#AC9A35
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9d2d; /* rgb */ color: rgb(159, 157, 45); /* oklch */ color: oklch(67.7% 0.130 108.4);
Tailwind
colors: {
custom: {
50: '#bfb96e',
500: '#9f9d2d',
950: '#000000',
},
}SCSS
$custom: #9f9d2d; $custom-light: #bfb96e; $custom-dark: #000000;
JSON
{
"hex": "#9f9d2d",
"rgb": {
"r": 159,
"g": 157,
"b": 45
},
"hsl": {
"h": 58.947,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.67726,
"c": 0.12978,
"h": 108.4
},
"luminance": 0.31674
}Semantic roles & 50–950 ramp
primary
#9F9D2D
secondary
#6A6BBE
accent
#4BDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B