#9F8715#9F8715
#9F8715 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.124 H 95.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8715 |
|---|---|
| RGB | rgb(159, 135, 21) |
| HSL | hsl(50, 77%, 35%) |
| HSV | hsv(50, 87%, 62%) |
| CMYK | cmyk(0%, 15.1%, 86.8%, 37.6%) |
| CIE-LAB | lab(56.84, -1.92, 57.63) |
| CIE-LCH | lch(56.84, 57.66, 91.91°) |
| OKLab | oklab(62.73% -0.0124 0.1229) |
| OKLCH | oklch(62.73% 0.124 95.8) |
| XYZ | xyz(23.0987, 24.7544, 4.2707) |
| Luminance | 0.2475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.78
Dark Mustard
#A88905
ΔE00 2.53
Baby Poo
#AB9004
ΔE00 3.67
Baby Shit Brown
#AD900D
ΔE00 3.82
Yellowy Brown
#AE8B0C
ΔE00 3.92
Baby Poop
#937C00
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8715 #152D9F
analogous
#9F4215 #9F8715 #729F15
triadic
#9F8715 #159F87 #87159F
tetradic
#9F8715 #159F42 #152D9F #9F1572
square
#9F8715 #159F42 #152D9F #9F1572
split-complementary
#9F8715 #15729F #42159F
monochromatic
#332B07 #69590E #9F8715 #D5B51C #E7CB48
Accessibility & contrast
On white
3.53
#9F8715 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#9F8715 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8715
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8715 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8715 | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9C8C1F
Tritanopia (blue-blind)
#AD7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8715; /* rgb */ color: rgb(159, 135, 21); /* oklch */ color: oklch(62.7% 0.124 95.8);
Tailwind
colors: {
custom: {
50: '#c0a960',
500: '#9f8715',
950: '#000000',
},
}SCSS
$custom: #9f8715; $custom-light: #c0a960; $custom-dark: #000000;
JSON
{
"hex": "#9f8715",
"rgb": {
"r": 159,
"g": 135,
"b": 21
},
"hsl": {
"h": 49.565,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.62729,
"c": 0.12354,
"h": 95.8
},
"luminance": 0.24753
}Semantic roles & 50–950 ramp
primary
#9F8715
secondary
#485EC8
accent
#56F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A