#9F8018#9F8018
#9F8018 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.118 H 90.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8018 |
|---|---|
| RGB | rgb(159, 128, 24) |
| HSL | hsl(46, 74%, 36%) |
| HSV | hsv(46, 85%, 62%) |
| CMYK | cmyk(0%, 19.5%, 84.9%, 37.6%) |
| CIE-LAB | lab(54.95, 2.05, 55.22) |
| CIE-LCH | lch(54.95, 55.26, 87.88°) |
| OKLab | oklab(61.24% -0.0009 0.1183) |
| OKLCH | oklch(61.24% 0.118 90.4) |
| XYZ | xyz(22.1835, 22.8767, 4.1112) |
| Luminance | 0.2288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.11
Yellowish Brown
#9B7A01
ΔE00 2.31
Baby Poop
#937C00
ΔE00 3.53
Puke Brown
#947706
ΔE00 3.60
Dark Mustard
#A88905
ΔE00 3.72
Mustard Brown
#AC7E04
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8018 #18379F
analogous
#9F3C18 #9F8018 #7A9F18
triadic
#9F8018 #189F80 #80189F
tetradic
#9F8018 #189F3C #18379F #9F187A
square
#9F8018 #189F3C #18379F #9F187A
split-complementary
#9F8018 #187A9F #3C189F
monochromatic
#352A08 #6A5510 #9F8018 #D4AB20 #E4C24D
Accessibility & contrast
On white
3.77
#9F8018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#9F8018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8018
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8018 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#AD746D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9f8018; /* rgb */ color: rgb(159, 128, 24); /* oklch */ color: oklch(61.2% 0.118 90.4);
Tailwind
colors: {
custom: {
50: '#c0a460',
500: '#9f8018',
950: '#000000',
},
}SCSS
$custom: #9f8018; $custom-light: #c0a460; $custom-dark: #000000;
JSON
{
"hex": "#9f8018",
"rgb": {
"r": 159,
"g": 128,
"b": 24
},
"hsl": {
"h": 46.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.6124,
"c": 0.11826,
"h": 90.4
},
"luminance": 0.22875
}Semantic roles & 50–950 ramp
primary
#9F8018
secondary
#4D69C6
accent
#62F037
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A