#9F8118#9F8118
#9F8118 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.5% C 0.119 H 91.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8118 |
|---|---|
| RGB | rgb(159, 129, 24) |
| HSL | hsl(47, 74%, 36%) |
| HSV | hsv(47, 85%, 62%) |
| CMYK | cmyk(0%, 18.9%, 84.9%, 37.6%) |
| CIE-LAB | lab(55.22, 1.49, 55.45) |
| CIE-LCH | lch(55.22, 55.47, 88.46°) |
| OKLab | oklab(61.45% -0.0025 0.1188) |
| OKLCH | oklch(61.45% 0.119 91.2) |
| XYZ | xyz(22.3146, 23.1388, 4.1549) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.75
Yellowish Brown
#9B7A01
ΔE00 2.63
Dark Mustard
#A88905
ΔE00 3.39
Baby Poop
#937C00
ΔE00 3.44
Puke Brown
#947706
ΔE00 3.84
Yellowy Brown
#AE8B0C
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8118 #18369F
analogous
#9F3E18 #9F8118 #799F18
triadic
#9F8118 #189F81 #81189F
tetradic
#9F8118 #189F3E #18369F #9F1879
square
#9F8118 #189F3E #18369F #9F1879
split-complementary
#9F8118 #18799F #3E189F
monochromatic
#352B08 #6A5610 #9F8118 #D4AC20 #E4C34D
Accessibility & contrast
On white
3.73
#9F8118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9F8118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8118
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8118 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#988820
Tritanopia (blue-blind)
#AD756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8118; /* rgb */ color: rgb(159, 129, 24); /* oklch */ color: oklch(61.5% 0.119 91.2);
Tailwind
colors: {
custom: {
50: '#c0a561',
500: '#9f8118',
950: '#000000',
},
}SCSS
$custom: #9f8118; $custom-light: #c0a561; $custom-dark: #000000;
JSON
{
"hex": "#9f8118",
"rgb": {
"r": 159,
"g": 129,
"b": 24
},
"hsl": {
"h": 46.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.61453,
"c": 0.11879,
"h": 91.2
},
"luminance": 0.23137
}Semantic roles & 50–950 ramp
primary
#9F8118
secondary
#4D68C6
accent
#60F037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A