#9F982D#9F982D
#9F982D is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.125 H 105.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9F982D |
|---|---|
| RGB | rgb(159, 152, 45) |
| HSL | hsl(56, 56%, 40%) |
| HSV | hsv(56, 72%, 62%) |
| CMYK | cmyk(0%, 4.4%, 71.7%, 37.6%) |
| CIE-LAB | lab(61.67, -10.20, 54.15) |
| CIE-LCH | lch(61.67, 55.10, 100.67°) |
| OKLab | oklab(66.61% -0.0335 0.1203) |
| OKLCH | oklch(66.61% 0.125 105.6) |
| XYZ | xyz(26.0010, 30.0178, 6.9065) |
| Luminance | 0.3002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.37
Vomit
#A2A415
ΔE00 4.72
Baby Poop Green
#8F9805
ΔE00 4.74
Puke
#A5A502
ΔE00 5.29
Baby Shit Green
#889717
ΔE00 6.02
Brown Yellow
#B29705
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F982D #2D349F
analogous
#9F5F2D #9F982D #6D9F2D
triadic
#9F982D #2D9F98 #982D9F
tetradic
#9F982D #2D9F5F #2D349F #9F2D6D
square
#9F982D #2D9F5F #2D349F #9F2D6D
split-complementary
#9F982D #2D6D9F #5F2D9F
monochromatic
#403D12 #6F6A20 #9F982D #C9C140 #D6D070
Accessibility & contrast
On white
3.00
#9F982D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#9F982D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F982D
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F982D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F982D | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9f982d; /* rgb */ color: rgb(159, 152, 45); /* oklch */ color: oklch(66.6% 0.125 105.6);
Tailwind
colors: {
custom: {
50: '#bfb66d',
500: '#9f982d',
950: '#000000',
},
}SCSS
$custom: #9f982d; $custom-light: #bfb66d; $custom-dark: #000000;
JSON
{
"hex": "#9f982d",
"rgb": {
"r": 159,
"g": 152,
"b": 45
},
"hsl": {
"h": 56.316,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.66606,
"c": 0.12485,
"h": 105.6
},
"luminance": 0.30017
}Semantic roles & 50–950 ramp
primary
#9F982D
secondary
#6A6FBE
accent
#52DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A