#9F8415#9F8415
#9F8415 is a light, vivid yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.122 H 93.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8415 |
|---|---|
| RGB | rgb(159, 132, 21) |
| HSL | hsl(48, 77%, 35%) |
| HSV | hsv(48, 87%, 62%) |
| CMYK | cmyk(0%, 17%, 86.8%, 37.6%) |
| CIE-LAB | lab(56.02, -0.26, 56.95) |
| CIE-LCH | lch(56.02, 56.95, 90.26°) |
| OKLab | oklab(62.08% -0.0077 0.1214) |
| OKLCH | oklch(62.08% 0.122 93.6) |
| XYZ | xyz(22.6861, 23.9290, 4.1332) |
| Luminance | 0.2393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 0.97
Dark Mustard
#A88905
ΔE00 2.59
Baby Poop
#937C00
ΔE00 3.49
Yellowish Brown
#9B7A01
ΔE00 3.77
Yellowy Brown
#AE8B0C
ΔE00 3.85
Baby Shit Brown
#AD900D
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8415 #15309F
analogous
#9F3F15 #9F8415 #759F15
triadic
#9F8415 #159F84 #84159F
tetradic
#9F8415 #159F3F #15309F #9F1575
square
#9F8415 #159F3F #15309F #9F1575
split-complementary
#9F8415 #15759F #3F159F
monochromatic
#332A07 #69570E #9F8415 #D5B11C #E7C848
Accessibility & contrast
On white
3.63
#9F8415 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#9F8415 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8415
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8415 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9A8A1E
Tritanopia (blue-blind)
#AD7870
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8415; /* rgb */ color: rgb(159, 132, 21); /* oklch */ color: oklch(62.1% 0.122 93.6);
Tailwind
colors: {
custom: {
50: '#c0a760',
500: '#9f8415',
950: '#000000',
},
}SCSS
$custom: #9f8415; $custom-light: #c0a760; $custom-dark: #000000;
JSON
{
"hex": "#9f8415",
"rgb": {
"r": 159,
"g": 132,
"b": 21
},
"hsl": {
"h": 48.261,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.62082,
"c": 0.12167,
"h": 93.6
},
"luminance": 0.23928
}Semantic roles & 50–950 ramp
primary
#9F8415
secondary
#4861C8
accent
#5AF335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A