#9F8515#9F8515
#9F8515 is a light, vivid yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.122 H 94.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8515 |
|---|---|
| RGB | rgb(159, 133, 21) |
| HSL | hsl(49, 77%, 35%) |
| HSV | hsv(49, 87%, 62%) |
| CMYK | cmyk(0%, 16.4%, 86.8%, 37.6%) |
| CIE-LAB | lab(56.29, -0.82, 57.17) |
| CIE-LCH | lch(56.29, 57.18, 90.82°) |
| OKLab | oklab(62.3% -0.0093 0.1219) |
| OKLCH | oklch(62.3% 0.122 94.3) |
| XYZ | xyz(22.8223, 24.2015, 4.1786) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.13
Dark Mustard
#A88905
ΔE00 2.49
Baby Poop
#937C00
ΔE00 3.65
Yellowy Brown
#AE8B0C
ΔE00 3.82
Yellowish Brown
#9B7A01
ΔE00 4.18
Baby Poo
#AB9004
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8515 #152F9F
analogous
#9F4015 #9F8515 #749F15
triadic
#9F8515 #159F85 #85159F
tetradic
#9F8515 #159F40 #152F9F #9F1574
square
#9F8515 #159F40 #152F9F #9F1574
split-complementary
#9F8515 #15749F #40159F
monochromatic
#332B07 #69580E #9F8515 #D5B21C #E7C948
Accessibility & contrast
On white
3.60
#9F8515 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#9F8515 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8515
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8515 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8515 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9B8A1E
Tritanopia (blue-blind)
#AD7971
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f8515; /* rgb */ color: rgb(159, 133, 21); /* oklch */ color: oklch(62.3% 0.122 94.3);
Tailwind
colors: {
custom: {
50: '#c0a860',
500: '#9f8515',
950: '#000000',
},
}SCSS
$custom: #9f8515; $custom-light: #c0a860; $custom-dark: #000000;
JSON
{
"hex": "#9f8515",
"rgb": {
"r": 159,
"g": 133,
"b": 21
},
"hsl": {
"h": 48.696,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.62297,
"c": 0.12227,
"h": 94.3
},
"luminance": 0.242
}Semantic roles & 50–950 ramp
primary
#9F8515
secondary
#4860C8
accent
#58F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A