#9F8618#9F8618
#9F8618 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.122 H 94.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8618 |
|---|---|
| RGB | rgb(159, 134, 24) |
| HSL | hsl(49, 74%, 36%) |
| HSV | hsv(49, 85%, 62%) |
| CMYK | cmyk(0%, 15.7%, 84.9%, 37.6%) |
| CIE-LAB | lab(56.57, -1.29, 56.60) |
| CIE-LCH | lch(56.57, 56.61, 91.30°) |
| OKLab | oklab(62.53% -0.0104 0.1213) |
| OKLCH | oklch(62.53% 0.122 94.9) |
| XYZ | xyz(22.9894, 24.4884, 4.3798) |
| Luminance | 0.2449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.54
Dark Mustard
#A88905
ΔE00 2.56
Yellowy Brown
#AE8B0C
ΔE00 3.89
Baby Poop
#937C00
ΔE00 3.89
Baby Poo
#AB9004
ΔE00 4.02
Baby Shit Brown
#AD900D
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8618 #18319F
analogous
#9F4218 #9F8618 #749F18
triadic
#9F8618 #189F86 #86189F
tetradic
#9F8618 #189F42 #18319F #9F1874
square
#9F8618 #189F42 #18319F #9F1874
split-complementary
#9F8618 #18749F #42189F
monochromatic
#352C08 #6A5910 #9F8618 #D4B320 #E4C84D
Accessibility & contrast
On white
3.56
#9F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#9F8618 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8618
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8618 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8618 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B21
Tritanopia (blue-blind)
#AD7A72
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8618; /* rgb */ color: rgb(159, 134, 24); /* oklch */ color: oklch(62.5% 0.122 94.9);
Tailwind
colors: {
custom: {
50: '#c0a861',
500: '#9f8618',
950: '#000000',
},
}SCSS
$custom: #9f8618; $custom-light: #c0a861; $custom-dark: #000000;
JSON
{
"hex": "#9f8618",
"rgb": {
"r": 159,
"g": 134,
"b": 24
},
"hsl": {
"h": 48.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.62526,
"c": 0.12172,
"h": 94.9
},
"luminance": 0.24487
}Semantic roles & 50–950 ramp
primary
#9F8618
secondary
#4D63C6
accent
#5AF037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A