#9F8719#9F8719
#9F8719 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.122 H 95.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8719 |
|---|---|
| RGB | rgb(159, 135, 25) |
| HSL | hsl(49, 73%, 36%) |
| HSV | hsv(49, 84%, 62%) |
| CMYK | cmyk(0%, 15.1%, 84.3%, 37.6%) |
| CIE-LAB | lab(56.85, -1.81, 56.55) |
| CIE-LCH | lch(56.85, 56.58, 91.83°) |
| OKLab | oklab(62.75% -0.0117 0.1214) |
| OKLCH | oklch(62.75% 0.122 95.5) |
| XYZ | xyz(23.1388, 24.7704, 4.4819) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.89
Dark Mustard
#A88905
ΔE00 2.64
Baby Poo
#AB9004
ΔE00 3.81
Baby Shit Brown
#AD900D
ΔE00 3.92
Yellowy Brown
#AE8B0C
ΔE00 3.97
Baby Poop
#937C00
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8719 #19319F
analogous
#9F4419 #9F8719 #749F19
triadic
#9F8719 #199F87 #87199F
tetradic
#9F8719 #199F44 #19319F #9F1974
square
#9F8719 #199F44 #19319F #9F1974
split-complementary
#9F8719 #19749F #44199F
monochromatic
#352D08 #6A5A11 #9F8719 #D4B421 #E3C94F
Accessibility & contrast
On white
3.53
#9F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#9F8719 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8719
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8719 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8719 | 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)
#9C8C22
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8719; /* rgb */ color: rgb(159, 135, 25); /* oklch */ color: oklch(62.7% 0.122 95.5);
Tailwind
colors: {
custom: {
50: '#c0a962',
500: '#9f8719',
950: '#000000',
},
}SCSS
$custom: #9f8719; $custom-light: #c0a962; $custom-dark: #000000;
JSON
{
"hex": "#9f8719",
"rgb": {
"r": 159,
"g": 135,
"b": 25
},
"hsl": {
"h": 49.254,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.62747,
"c": 0.12195,
"h": 95.5
},
"luminance": 0.24769
}Semantic roles & 50–950 ramp
primary
#9F8719
secondary
#4E64C6
accent
#59F038
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A