#9F9628#9F9628
#9F9628 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.126 H 104.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9628 |
|---|---|
| RGB | rgb(159, 150, 40) |
| HSL | hsl(55, 60%, 39%) |
| HSV | hsv(55, 75%, 62%) |
| CMYK | cmyk(0%, 5.7%, 74.8%, 37.6%) |
| CIE-LAB | lab(61.08, -9.38, 55.45) |
| CIE-LCH | lch(61.08, 56.24, 99.60°) |
| OKLab | oklab(66.13% -0.0317 0.1221) |
| OKLCH | oklch(66.13% 0.126 104.6) |
| XYZ | xyz(25.5885, 29.3378, 6.3220) |
| Luminance | 0.2934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.64
Baby Poop Green
#8F9805
ΔE00 5.03
Vomit
#A2A415
ΔE00 5.20
Puke
#A5A502
ΔE00 5.63
Baby Poo
#AB9004
ΔE00 5.75
Brown Yellow
#B29705
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9628 #28319F
analogous
#9F5B28 #9F9628 #6D9F28
triadic
#9F9628 #289F96 #96289F
tetradic
#9F9628 #289F5B #28319F #9F286D
square
#9F9628 #289F5B #28319F #9F286D
split-complementary
#9F9628 #286D9F #5B289F
monochromatic
#3D3A0F #6E681C #9F9628 #CDC137 #D9D168
Accessibility & contrast
On white
3.06
#9F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#9F9628 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9628
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9628 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 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)
#A49113
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f9628; /* rgb */ color: rgb(159, 150, 40); /* oklch */ color: oklch(66.1% 0.126 104.6);
Tailwind
colors: {
custom: {
50: '#bfb46a',
500: '#9f9628',
950: '#000000',
},
}SCSS
$custom: #9f9628; $custom-light: #bfb46a; $custom-dark: #000000;
JSON
{
"hex": "#9f9628",
"rgb": {
"r": 159,
"g": 150,
"b": 40
},
"hsl": {
"h": 55.462,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.66126,
"c": 0.12611,
"h": 104.6
},
"luminance": 0.29337
}Semantic roles & 50–950 ramp
primary
#9F9628
secondary
#646ABF
accent
#51E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A