#9F8117#9F8117
#9F8117 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.119 H 91.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8117 |
|---|---|
| RGB | rgb(159, 129, 23) |
| HSL | hsl(47, 75%, 36%) |
| HSV | hsv(47, 86%, 62%) |
| CMYK | cmyk(0%, 18.9%, 85.5%, 37.6%) |
| CIE-LAB | lab(55.21, 1.46, 55.74) |
| CIE-LCH | lch(55.21, 55.76, 88.50°) |
| OKLab | oklab(61.45% -0.0026 0.1192) |
| OKLCH | oklch(61.45% 0.119 91.3) |
| XYZ | xyz(22.3044, 23.1348, 4.1011) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.67
Yellowish Brown
#9B7A01
ΔE00 2.61
Dark Mustard
#A88905
ΔE00 3.35
Baby Poop
#937C00
ΔE00 3.41
Puke Brown
#947706
ΔE00 3.83
Yellowy Brown
#AE8B0C
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8117 #17359F
analogous
#9F3D17 #9F8117 #799F17
triadic
#9F8117 #179F81 #81179F
tetradic
#9F8117 #179F3D #17359F #9F1779
square
#9F8117 #179F3D #17359F #9F1779
split-complementary
#9F8117 #17799F #3D179F
monochromatic
#342A08 #6A560F #9F8117 #D4AC1F #E5C34B
Accessibility & contrast
On white
3.73
#9F8117 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9F8117 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8117
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8117 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8117 | 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)
#98881F
Tritanopia (blue-blind)
#AD756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8117; /* rgb */ color: rgb(159, 129, 23); /* oklch */ color: oklch(61.4% 0.119 91.3);
Tailwind
colors: {
custom: {
50: '#c0a560',
500: '#9f8117',
950: '#000000',
},
}SCSS
$custom: #9f8117; $custom-light: #c0a560; $custom-dark: #000000;
JSON
{
"hex": "#9f8117",
"rgb": {
"r": 159,
"g": 129,
"b": 23
},
"hsl": {
"h": 46.765,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.61448,
"c": 0.1192,
"h": 91.3
},
"luminance": 0.23133
}Semantic roles & 50–950 ramp
primary
#9F8117
secondary
#4B66C7
accent
#60F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A