#9F7F15#9F7F15
#9F7F15 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 61.0% C 0.119 H 89.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7F15 |
|---|---|
| RGB | rgb(159, 127, 21) |
| HSL | hsl(46, 77%, 35%) |
| HSV | hsv(46, 87%, 62%) |
| CMYK | cmyk(0%, 20.1%, 86.8%, 37.6%) |
| CIE-LAB | lab(54.66, 2.52, 55.84) |
| CIE-LCH | lch(54.66, 55.89, 87.41°) |
| OKLab | oklab(61.01% 0.0002 0.119) |
| OKLCH | oklch(61.01% 0.119 89.9) |
| XYZ | xyz(22.0242, 22.6053, 3.9126) |
| Luminance | 0.2260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.93
Diarrhea
#9F8303
ΔE00 2.33
Puke Brown
#947706
ΔE00 3.37
Baby Poop
#937C00
ΔE00 3.57
Dark Mustard
#A88905
ΔE00 3.94
Mustard Brown
#AC7E04
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7F15 #15359F
analogous
#9F3A15 #9F7F15 #7A9F15
triadic
#9F7F15 #159F7F #7F159F
tetradic
#9F7F15 #159F3A #15359F #9F157A
square
#9F7F15 #159F3A #15359F #9F157A
split-complementary
#9F7F15 #157A9F #3A159F
monochromatic
#332907 #69540E #9F7F15 #D5AA1C #E7C248
Accessibility & contrast
On white
3.80
#9F7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#9F7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7F15
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7F15 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97861D
Tritanopia (blue-blind)
#AD736C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9f7f15; /* rgb */ color: rgb(159, 127, 21); /* oklch */ color: oklch(61.0% 0.119 89.9);
Tailwind
colors: {
custom: {
50: '#c0a35f',
500: '#9f7f15',
950: '#000000',
},
}SCSS
$custom: #9f7f15; $custom-light: #c0a35f; $custom-dark: #000000;
JSON
{
"hex": "#9f7f15",
"rgb": {
"r": 159,
"g": 127,
"b": 21
},
"hsl": {
"h": 46.087,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.61014,
"c": 0.11895,
"h": 89.9
},
"luminance": 0.22604
}Semantic roles & 50–950 ramp
primary
#9F7F15
secondary
#4866C8
accent
#61F335
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79