#9F8318#9F8318
#9F8318 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.120 H 92.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8318 |
|---|---|
| RGB | rgb(159, 131, 24) |
| HSL | hsl(48, 74%, 36%) |
| HSV | hsv(48, 85%, 62%) |
| CMYK | cmyk(0%, 17.6%, 84.9%, 37.6%) |
| CIE-LAB | lab(55.76, 0.38, 55.91) |
| CIE-LCH | lch(55.76, 55.91, 89.61°) |
| OKLab | oklab(61.88% -0.0056 0.1198) |
| OKLCH | oklch(61.88% 0.12 92.7) |
| XYZ | xyz(22.5806, 23.6709, 4.2436) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.24
Dark Mustard
#A88905
ΔE00 2.88
Yellowish Brown
#9B7A01
ΔE00 3.37
Baby Poop
#937C00
ΔE00 3.45
Yellowy Brown
#AE8B0C
ΔE00 4.00
Puke Brown
#947706
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8318 #18349F
analogous
#9F4018 #9F8318 #779F18
triadic
#9F8318 #189F83 #83189F
tetradic
#9F8318 #189F40 #18349F #9F1877
square
#9F8318 #189F40 #18349F #9F1877
split-complementary
#9F8318 #18779F #40189F
monochromatic
#352B08 #6A5710 #9F8318 #D4AF20 #E4C54D
Accessibility & contrast
On white
3.66
#9F8318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#9F8318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8318
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8318 | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#998920
Tritanopia (blue-blind)
#AD7770
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9f8318; /* rgb */ color: rgb(159, 131, 24); /* oklch */ color: oklch(61.9% 0.120 92.7);
Tailwind
colors: {
custom: {
50: '#c0a661',
500: '#9f8318',
950: '#000000',
},
}SCSS
$custom: #9f8318; $custom-light: #c0a661; $custom-dark: #000000;
JSON
{
"hex": "#9f8318",
"rgb": {
"r": 159,
"g": 131,
"b": 24
},
"hsl": {
"h": 47.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.6188,
"c": 0.11989,
"h": 92.7
},
"luminance": 0.23669
}Semantic roles & 50–950 ramp
primary
#9F8318
secondary
#4D66C6
accent
#5EF037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A