#9D9147#9D9147

#9D9147 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.096 H 100.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9D9147
RGBrgb(157, 145, 71)
HSLhsl(52, 38%, 45%)
HSVhsv(52, 55%, 62%)
CMYKcmyk(0%, 7.6%, 54.8%, 38.4%)
CIE-LABlab(59.78, -5.54, 40.37)
CIE-LCHlch(59.78, 40.75, 97.82°)
OKLaboklab(65.13% -0.0171 0.0948)
OKLCHoklch(65.13% 0.096 100.2)
XYZxyz(25.1682, 27.8748, 10.0146)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9147 #47539D
analogous
#9D6647 #9D9147 #7E9D47
triadic
#9D9147 #479D91 #91479D
tetradic
#9D9147 #479D66 #47539D #9D477E
square
#9D9147 #479D66 #47539D #9D477E
split-complementary
#9D9147 #477E9D #66479D
monochromatic
#494321 #736A34 #9D9147 #BAAF67 #CDC591

Accessibility & contrast

On white

3.19
#9D9147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9D9147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9147
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9147#FFFFFF#000000##000000
##9D91471.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D40
Deuteranopia (green-blind)
#A0924A
Tritanopia (blue-blind)
#A88880
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9147;
/* rgb */ color: rgb(157, 145, 71);
/* oklch */ color: oklch(65.1% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#bcb17c',
    500: '#9d9147',
    950: '#000000',
  },
}
SCSS
$custom: #9d9147;
$custom-light: #bcb17c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9147",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 71
  },
  "hsl": {
    "h": 51.628,
    "s": 37.719,
    "l": 44.706
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.09635,
    "h": 100.2
  },
  "luminance": 0.27874
}

Semantic roles & 50–950 ramp

primary
#9D9147
secondary
#878EB9
accent
#6ACE5A
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D9147

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9D9147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva