#9F8115#9F8115
#9F8115 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 91.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8115 |
|---|---|
| RGB | rgb(159, 129, 21) |
| HSL | hsl(47, 77%, 35%) |
| HSV | hsv(47, 87%, 62%) |
| CMYK | cmyk(0%, 18.9%, 86.8%, 37.6%) |
| CIE-LAB | lab(55.20, 1.41, 56.28) |
| CIE-LCH | lch(55.20, 56.30, 88.57°) |
| OKLab | oklab(61.44% -0.003 0.1199) |
| OKLCH | oklch(61.44% 0.12 91.4) |
| XYZ | xyz(22.2851, 23.1270, 3.9995) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.54
Yellowish Brown
#9B7A01
ΔE00 2.58
Dark Mustard
#A88905
ΔE00 3.27
Baby Poop
#937C00
ΔE00 3.35
Puke Brown
#947706
ΔE00 3.83
Yellowy Brown
#AE8B0C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8115 #15339F
analogous
#9F3C15 #9F8115 #789F15
triadic
#9F8115 #159F81 #81159F
tetradic
#9F8115 #159F3C #15339F #9F1578
square
#9F8115 #159F3C #15339F #9F1578
split-complementary
#9F8115 #15789F #3C159F
monochromatic
#332907 #69550E #9F8115 #D5AD1C #E7C448
Accessibility & contrast
On white
3.73
#9F8115 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#9F8115 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8115
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8115 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8115 | 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)
#98881D
Tritanopia (blue-blind)
#AD756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8115; /* rgb */ color: rgb(159, 129, 21); /* oklch */ color: oklch(61.4% 0.120 91.4);
Tailwind
colors: {
custom: {
50: '#c0a55f',
500: '#9f8115',
950: '#000000',
},
}SCSS
$custom: #9f8115; $custom-light: #c0a55f; $custom-dark: #000000;
JSON
{
"hex": "#9f8115",
"rgb": {
"r": 159,
"g": 129,
"b": 21
},
"hsl": {
"h": 46.957,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.6144,
"c": 0.11998,
"h": 91.4
},
"luminance": 0.23126
}Semantic roles & 50–950 ramp
primary
#9F8115
secondary
#4864C8
accent
#5EF335
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79