#9F992D#9F992D
#9F992D is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.126 H 106.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F992D |
|---|---|
| RGB | rgb(159, 153, 45) |
| HSL | hsl(57, 56%, 40%) |
| HSV | hsv(57, 72%, 62%) |
| CMYK | cmyk(0%, 3.8%, 71.7%, 37.6%) |
| CIE-LAB | lab(61.95, -10.73, 54.43) |
| CIE-LCH | lch(61.95, 55.47, 101.16°) |
| OKLab | oklab(66.83% -0.035 0.1208) |
| OKLCH | oklch(66.83% 0.126 106.2) |
| XYZ | xyz(26.1640, 30.3438, 6.9609) |
| Luminance | 0.3034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.14
Vomit
#A2A415
ΔE00 4.38
Baby Poop Green
#8F9805
ΔE00 4.52
Puke
#A5A502
ΔE00 4.98
Baby Shit Green
#889717
ΔE00 5.82
Pea Soup Green
#94A617
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F992D #2D339F
analogous
#9F602D #9F992D #6C9F2D
triadic
#9F992D #2D9F99 #992D9F
tetradic
#9F992D #2D9F60 #2D339F #9F2D6C
square
#9F992D #2D9F60 #2D339F #9F2D6C
split-complementary
#9F992D #2D6C9F #602D9F
monochromatic
#403D12 #6F6B20 #9F992D #C9C240 #D6D170
Accessibility & contrast
On white
2.97
#9F992D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#9F992D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F992D
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F992D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F992D | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#AB8F84
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f992d; /* rgb */ color: rgb(159, 153, 45); /* oklch */ color: oklch(66.8% 0.126 106.2);
Tailwind
colors: {
custom: {
50: '#bfb66d',
500: '#9f992d',
950: '#000000',
},
}SCSS
$custom: #9f992d; $custom-light: #bfb66d; $custom-dark: #000000;
JSON
{
"hex": "#9f992d",
"rgb": {
"r": 159,
"g": 153,
"b": 45
},
"hsl": {
"h": 56.842,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.6683,
"c": 0.12581,
"h": 106.2
},
"luminance": 0.30343
}Semantic roles & 50–950 ramp
primary
#9F992D
secondary
#6A6EBE
accent
#51DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A