#9F8518#9F8518
#9F8518 is a light, vivid yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.121 H 94.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8518 |
|---|---|
| RGB | rgb(159, 133, 24) |
| HSL | hsl(48, 74%, 36%) |
| HSV | hsv(48, 85%, 62%) |
| CMYK | cmyk(0%, 16.4%, 84.9%, 37.6%) |
| CIE-LAB | lab(56.30, -0.73, 56.37) |
| CIE-LCH | lch(56.30, 56.37, 90.75°) |
| OKLab | oklab(62.31% -0.0088 0.1208) |
| OKLCH | oklch(62.31% 0.121 94.2) |
| XYZ | xyz(22.8518, 24.2133, 4.3340) |
| Luminance | 0.2421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.30
Dark Mustard
#A88905
ΔE00 2.59
Baby Poop
#937C00
ΔE00 3.69
Yellowy Brown
#AE8B0C
ΔE00 3.87
Yellowish Brown
#9B7A01
ΔE00 4.18
Baby Poo
#AB9004
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8518 #18329F
analogous
#9F4118 #9F8518 #759F18
triadic
#9F8518 #189F85 #85189F
tetradic
#9F8518 #189F41 #18329F #9F1875
square
#9F8518 #189F41 #18329F #9F1875
split-complementary
#9F8518 #18759F #41189F
monochromatic
#352C08 #6A5910 #9F8518 #D4B120 #E4C74D
Accessibility & contrast
On white
3.59
#9F8518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#9F8518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8518
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8518 | 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)
#AD7971
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9f8518; /* rgb */ color: rgb(159, 133, 24); /* oklch */ color: oklch(62.3% 0.121 94.2);
Tailwind
colors: {
custom: {
50: '#c0a861',
500: '#9f8518',
950: '#000000',
},
}SCSS
$custom: #9f8518; $custom-light: #c0a861; $custom-dark: #000000;
JSON
{
"hex": "#9f8518",
"rgb": {
"r": 159,
"g": 133,
"b": 24
},
"hsl": {
"h": 48.444,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.6231,
"c": 0.12109,
"h": 94.2
},
"luminance": 0.24212
}Semantic roles & 50–950 ramp
primary
#9F8518
secondary
#4D64C6
accent
#5BF037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A