#9F9623#9F9623
#9F9623 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.129 H 104.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9623 |
|---|---|
| RGB | rgb(159, 150, 35) |
| HSL | hsl(56, 64%, 38%) |
| HSV | hsv(56, 78%, 62%) |
| CMYK | cmyk(0%, 5.7%, 78%, 37.6%) |
| CIE-LAB | lab(61.05, -9.60, 57.15) |
| CIE-LCH | lch(61.05, 57.95, 99.53°) |
| OKLab | oklab(66.1% -0.0328 0.1247) |
| OKLCH | oklch(66.1% 0.129 104.7) |
| XYZ | xyz(25.5089, 29.3060, 5.9027) |
| Luminance | 0.2930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.45
Baby Poop Green
#8F9805
ΔE00 4.89
Vomit
#A2A415
ΔE00 5.02
Puke
#A5A502
ΔE00 5.39
Baby Poo
#AB9004
ΔE00 5.60
Brown Yellow
#B29705
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9623 #232C9F
analogous
#9F5823 #9F9623 #6A9F23
triadic
#9F9623 #239F96 #96239F
tetradic
#9F9623 #239F58 #232C9F #9F236A
square
#9F9623 #239F58 #232C9F #9F236A
split-complementary
#9F9623 #236A9F #58239F
monochromatic
#3B370D #6D6718 #9F9623 #D1C52E #DCD360
Accessibility & contrast
On white
3.06
#9F9623 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#9F9623 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9623
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9623 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49105
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#AB8B80
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f9623; /* rgb */ color: rgb(159, 150, 35); /* oklch */ color: oklch(66.1% 0.129 104.7);
Tailwind
colors: {
custom: {
50: '#bfb468',
500: '#9f9623',
950: '#000000',
},
}SCSS
$custom: #9f9623; $custom-light: #bfb468; $custom-dark: #000000;
JSON
{
"hex": "#9f9623",
"rgb": {
"r": 159,
"g": 150,
"b": 35
},
"hsl": {
"h": 55.645,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.66095,
"c": 0.12895,
"h": 104.7
},
"luminance": 0.29305
}Semantic roles & 50–950 ramp
primary
#9F9623
secondary
#5D64C1
accent
#4DE741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A