#9F981D#9F981D
#9F981D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.134 H 106.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9F981D |
|---|---|
| RGB | rgb(159, 152, 29) |
| HSL | hsl(57, 69%, 37%) |
| HSV | hsv(57, 82%, 62%) |
| CMYK | cmyk(0%, 4.4%, 81.8%, 37.6%) |
| CIE-LAB | lab(61.58, -10.88, 59.47) |
| CIE-LCH | lch(61.58, 60.46, 100.37°) |
| OKLab | oklab(66.51% -0.0369 0.1285) |
| OKLCH | oklch(66.51% 0.134 106) |
| XYZ | xyz(25.7492, 29.9171, 5.5804) |
| Luminance | 0.2992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.77
Vomit
#A2A415
ΔE00 4.12
Baby Poop Green
#8F9805
ΔE00 4.31
Puke
#A5A502
ΔE00 4.48
Brown Yellow
#B29705
ΔE00 5.99
Baby Shit Green
#889717
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F981D #1D249F
analogous
#9F571D #9F981D #659F1D
triadic
#9F981D #1D9F98 #981D9F
tetradic
#9F981D #1D9F57 #1D249F #9F1D65
square
#9F981D #1D9F57 #1D249F #9F1D65
split-complementary
#9F981D #1D659F #571D9F
monochromatic
#37350A #6B6714 #9F981D #D3C926 #E0D956
Accessibility & contrast
On white
3.01
#9F981D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#9F981D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F981D
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F981D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F981D | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#AB8D82
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9f981d; /* rgb */ color: rgb(159, 152, 29); /* oklch */ color: oklch(66.5% 0.134 106.0);
Tailwind
colors: {
custom: {
50: '#bfb666',
500: '#9f981d',
950: '#000000',
},
}SCSS
$custom: #9f981d; $custom-light: #bfb666; $custom-dark: #000000;
JSON
{
"hex": "#9f981d",
"rgb": {
"r": 159,
"g": 152,
"b": 29
},
"hsl": {
"h": 56.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.66509,
"c": 0.13372,
"h": 106
},
"luminance": 0.29916
}Semantic roles & 50–950 ramp
primary
#9F981D
secondary
#545AC4
accent
#45EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A