#9F8519#9F8519
#9F8519 is a light, vivid yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.121 H 94.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8519 |
|---|---|
| RGB | rgb(159, 133, 25) |
| HSL | hsl(48, 73%, 36%) |
| HSV | hsv(48, 84%, 62%) |
| CMYK | cmyk(0%, 16.4%, 84.3%, 37.6%) |
| CIE-LAB | lab(56.30, -0.70, 56.08) |
| CIE-LCH | lch(56.30, 56.09, 90.72°) |
| OKLab | oklab(62.32% -0.0086 0.1204) |
| OKLCH | oklch(62.32% 0.121 94.1) |
| XYZ | xyz(22.8624, 24.2176, 4.3898) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.36
Dark Mustard
#A88905
ΔE00 2.63
Baby Poop
#937C00
ΔE00 3.71
Yellowy Brown
#AE8B0C
ΔE00 3.89
Yellowish Brown
#9B7A01
ΔE00 4.18
Baby Poo
#AB9004
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8519 #19339F
analogous
#9F4219 #9F8519 #769F19
triadic
#9F8519 #199F85 #85199F
tetradic
#9F8519 #199F42 #19339F #9F1976
square
#9F8519 #199F42 #19339F #9F1976
split-complementary
#9F8519 #19769F #42199F
monochromatic
#352D08 #6A5911 #9F8519 #D4B121 #E3C74F
Accessibility & contrast
On white
3.59
#9F8519 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#9F8519 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8519
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8519 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8519 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 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)
#9B8A21
Tritanopia (blue-blind)
#AD7972
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f8519; /* rgb */ color: rgb(159, 133, 25); /* oklch */ color: oklch(62.3% 0.121 94.1);
Tailwind
colors: {
custom: {
50: '#c0a862',
500: '#9f8519',
950: '#000000',
},
}SCSS
$custom: #9f8519; $custom-light: #c0a862; $custom-dark: #000000;
JSON
{
"hex": "#9f8519",
"rgb": {
"r": 159,
"g": 133,
"b": 25
},
"hsl": {
"h": 48.358,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.62315,
"c": 0.12067,
"h": 94.1
},
"luminance": 0.24216
}Semantic roles & 50–950 ramp
primary
#9F8519
secondary
#4E65C6
accent
#5CF038
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A