#9F8718#9F8718
#9F8718 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.122 H 95.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8718 |
|---|---|
| RGB | rgb(159, 135, 24) |
| HSL | hsl(49, 74%, 36%) |
| HSV | hsv(49, 85%, 62%) |
| CMYK | cmyk(0%, 15.1%, 84.9%, 37.6%) |
| CIE-LAB | lab(56.85, -1.84, 56.83) |
| CIE-LCH | lch(56.85, 56.86, 91.85°) |
| OKLab | oklab(62.74% -0.0119 0.1218) |
| OKLCH | oklch(62.74% 0.122 95.6) |
| XYZ | xyz(23.1282, 24.7662, 4.4261) |
| Luminance | 0.2477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.86
Dark Mustard
#A88905
ΔE00 2.61
Baby Poo
#AB9004
ΔE00 3.77
Baby Shit Brown
#AD900D
ΔE00 3.89
Yellowy Brown
#AE8B0C
ΔE00 3.95
Baby Poop
#937C00
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8718 #18309F
analogous
#9F4318 #9F8718 #739F18
triadic
#9F8718 #189F87 #87189F
tetradic
#9F8718 #189F43 #18309F #9F1873
square
#9F8718 #189F43 #18309F #9F1873
split-complementary
#9F8718 #18739F #43189F
monochromatic
#352D08 #6A5A10 #9F8718 #D4B420 #E4C94D
Accessibility & contrast
On white
3.53
#9F8718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#9F8718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8718
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8718 | 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)
#9C8C21
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8718; /* rgb */ color: rgb(159, 135, 24); /* oklch */ color: oklch(62.7% 0.122 95.6);
Tailwind
colors: {
custom: {
50: '#c0a961',
500: '#9f8718',
950: '#000000',
},
}SCSS
$custom: #9f8718; $custom-light: #c0a961; $custom-dark: #000000;
JSON
{
"hex": "#9f8718",
"rgb": {
"r": 159,
"g": 135,
"b": 24
},
"hsl": {
"h": 49.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.62742,
"c": 0.12236,
"h": 95.6
},
"luminance": 0.24765
}Semantic roles & 50–950 ramp
primary
#9F8718
secondary
#4D62C6
accent
#58F037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A