#9F8418#9F8418
#9F8418 is a light, vivid yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.120 H 93.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8418 |
|---|---|
| RGB | rgb(159, 132, 24) |
| HSL | hsl(48, 74%, 36%) |
| HSV | hsv(48, 85%, 62%) |
| CMYK | cmyk(0%, 17%, 84.9%, 37.6%) |
| CIE-LAB | lab(56.03, -0.18, 56.14) |
| CIE-LCH | lch(56.03, 56.14, 90.18°) |
| OKLab | oklab(62.1% -0.0072 0.1203) |
| OKLCH | oklch(62.1% 0.12 93.4) |
| XYZ | xyz(22.7156, 23.9408, 4.2886) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.18
Dark Mustard
#A88905
ΔE00 2.70
Baby Poop
#937C00
ΔE00 3.55
Yellowish Brown
#9B7A01
ΔE00 3.77
Yellowy Brown
#AE8B0C
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8418 #18339F
analogous
#9F4018 #9F8418 #769F18
triadic
#9F8418 #189F84 #84189F
tetradic
#9F8418 #189F40 #18339F #9F1876
square
#9F8418 #189F40 #18339F #9F1876
split-complementary
#9F8418 #18769F #40189F
monochromatic
#352C08 #6A5810 #9F8418 #D4B020 #E4C64D
Accessibility & contrast
On white
3.63
#9F8418 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#9F8418 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8418
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8418 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#9A8A20
Tritanopia (blue-blind)
#AD7871
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8418; /* rgb */ color: rgb(159, 132, 24); /* oklch */ color: oklch(62.1% 0.120 93.4);
Tailwind
colors: {
custom: {
50: '#c0a761',
500: '#9f8418',
950: '#000000',
},
}SCSS
$custom: #9f8418; $custom-light: #c0a761; $custom-dark: #000000;
JSON
{
"hex": "#9f8418",
"rgb": {
"r": 159,
"g": 132,
"b": 24
},
"hsl": {
"h": 48,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.62095,
"c": 0.12049,
"h": 93.4
},
"luminance": 0.23939
}Semantic roles & 50–950 ramp
primary
#9F8418
secondary
#4D65C6
accent
#5CF037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A