#9F8615#9F8615
#9F8615 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.123 H 95.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8615 |
|---|---|
| RGB | rgb(159, 134, 21) |
| HSL | hsl(49, 77%, 35%) |
| HSV | hsv(49, 87%, 62%) |
| CMYK | cmyk(0%, 15.7%, 86.8%, 37.6%) |
| CIE-LAB | lab(56.56, -1.37, 57.40) |
| CIE-LCH | lch(56.56, 57.42, 91.37°) |
| OKLab | oklab(62.51% -0.0108 0.1224) |
| OKLCH | oklch(62.51% 0.123 95.1) |
| XYZ | xyz(22.9599, 24.4766, 4.2245) |
| Luminance | 0.2447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.42
Dark Mustard
#A88905
ΔE00 2.47
Yellowy Brown
#AE8B0C
ΔE00 3.85
Baby Poop
#937C00
ΔE00 3.86
Baby Poo
#AB9004
ΔE00 3.92
Baby Shit Brown
#AD900D
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8615 #152E9F
analogous
#9F4115 #9F8615 #739F15
triadic
#9F8615 #159F86 #86159F
tetradic
#9F8615 #159F41 #152E9F #9F1573
square
#9F8615 #159F41 #152E9F #9F1573
split-complementary
#9F8615 #15739F #41159F
monochromatic
#332B07 #69580E #9F8615 #D5B41C #E7CA48
Accessibility & contrast
On white
3.56
#9F8615 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#9F8615 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8615
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8615 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8615 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B1F
Tritanopia (blue-blind)
#AD7A72
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8615; /* rgb */ color: rgb(159, 134, 21); /* oklch */ color: oklch(62.5% 0.123 95.1);
Tailwind
colors: {
custom: {
50: '#c0a860',
500: '#9f8615',
950: '#000000',
},
}SCSS
$custom: #9f8615; $custom-light: #c0a860; $custom-dark: #000000;
JSON
{
"hex": "#9f8615",
"rgb": {
"r": 159,
"g": 134,
"b": 21
},
"hsl": {
"h": 49.13,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.62513,
"c": 0.1229,
"h": 95.1
},
"luminance": 0.24475
}Semantic roles & 50–950 ramp
primary
#9F8615
secondary
#485FC8
accent
#57F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A