#9F962D#9F962D
#9F962D is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.2% C 0.123 H 104.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F962D |
|---|---|
| RGB | rgb(159, 150, 45) |
| HSL | hsl(55, 56%, 40%) |
| HSV | hsv(55, 72%, 62%) |
| CMYK | cmyk(0%, 5.7%, 71.7%, 37.6%) |
| CIE-LAB | lab(61.11, -9.14, 53.60) |
| CIE-LCH | lch(61.11, 54.38, 99.67°) |
| OKLab | oklab(66.16% -0.0305 0.1191) |
| OKLCH | oklch(66.16% 0.123 104.4) |
| XYZ | xyz(25.6791, 29.3741, 6.7992) |
| Luminance | 0.2937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.24
Vomit
#A2A415
ΔE00 5.44
Puke
#A5A502
ΔE00 5.94
Baby Poo
#AB9004
ΔE00 5.96
Brown Yellow
#B29705
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F962D #2D369F
analogous
#9F5D2D #9F962D #6F9F2D
triadic
#9F962D #2D9F96 #962D9F
tetradic
#9F962D #2D9F5D #2D369F #9F2D6F
square
#9F962D #2D9F5D #2D369F #9F2D6F
split-complementary
#9F962D #2D6F9F #5D2D9F
monochromatic
#403C12 #6F6920 #9F962D #C9BE40 #D6CE70
Accessibility & contrast
On white
3.05
#9F962D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#9F962D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F962D
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F962D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F962D | 1.00 | 3.05 | 6.87 | 6.87 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3911C
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f962d; /* rgb */ color: rgb(159, 150, 45); /* oklch */ color: oklch(66.2% 0.123 104.4);
Tailwind
colors: {
custom: {
50: '#bfb46d',
500: '#9f962d',
950: '#000000',
},
}SCSS
$custom: #9f962d; $custom-light: #bfb46d; $custom-dark: #000000;
JSON
{
"hex": "#9f962d",
"rgb": {
"r": 159,
"g": 150,
"b": 45
},
"hsl": {
"h": 55.263,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.66161,
"c": 0.12295,
"h": 104.4
},
"luminance": 0.29373
}Semantic roles & 50–950 ramp
primary
#9F962D
secondary
#6A71BE
accent
#55DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A