#9F8815#9F8815
#9F8815 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.124 H 96.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8815 |
|---|---|
| RGB | rgb(159, 136, 21) |
| HSL | hsl(50, 77%, 35%) |
| HSV | hsv(50, 87%, 62%) |
| CMYK | cmyk(0%, 14.5%, 86.8%, 37.6%) |
| CIE-LAB | lab(57.11, -2.47, 57.85) |
| CIE-LCH | lch(57.11, 57.90, 92.45°) |
| OKLab | oklab(62.95% -0.0139 0.1234) |
| OKLCH | oklch(62.95% 0.124 96.4) |
| XYZ | xyz(23.2389, 25.0347, 4.3175) |
| Luminance | 0.2503 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.16
Dark Mustard
#A88905
ΔE00 2.66
Baby Poo
#AB9004
ΔE00 3.47
Baby Shit Brown
#AD900D
ΔE00 3.68
Yellowy Brown
#AE8B0C
ΔE00 4.04
Baby Poop
#937C00
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8815 #152C9F
analogous
#9F4315 #9F8815 #719F15
triadic
#9F8815 #159F88 #88159F
tetradic
#9F8815 #159F43 #152C9F #9F1571
square
#9F8815 #159F43 #152C9F #9F1571
split-complementary
#9F8815 #15719F #43159F
monochromatic
#332C07 #695A0E #9F8815 #D5B61C #E7CC48
Accessibility & contrast
On white
3.50
#9F8815 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#9F8815 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8815
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8815 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8815 | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9D8C1F
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8815; /* rgb */ color: rgb(159, 136, 21); /* oklch */ color: oklch(62.9% 0.124 96.4);
Tailwind
colors: {
custom: {
50: '#c0aa60',
500: '#9f8815',
950: '#000000',
},
}SCSS
$custom: #9f8815; $custom-light: #c0aa60; $custom-dark: #000000;
JSON
{
"hex": "#9f8815",
"rgb": {
"r": 159,
"g": 136,
"b": 21
},
"hsl": {
"h": 50,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.62946,
"c": 0.1242,
"h": 96.4
},
"luminance": 0.25033
}Semantic roles & 50–950 ramp
primary
#9F8815
secondary
#485DC8
accent
#54F335
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A