#9D8A48#9D8A48

#9D8A48 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.089 H 93.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9D8A48
RGBrgb(157, 138, 72)
HSLhsl(47, 37%, 45%)
HSVhsv(47, 54%, 62%)
CMYKcmyk(0%, 12.1%, 54.1%, 38.4%)
CIE-LABlab(57.86, -1.62, 37.60)
CIE-LCHlch(57.86, 37.63, 92.46°)
OKLaboklab(63.62% -0.0057 0.0889)
OKLCHoklch(63.62% 0.089 93.7)
XYZxyz(24.1637, 25.8140, 9.8394)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A48 #485B9D
analogous
#9D5F48 #9D8A48 #869D48
triadic
#9D8A48 #489D8A #8A489D
tetradic
#9D8A48 #489D5F #485B9D #9D4886
square
#9D8A48 #489D5F #485B9D #9D4886
split-complementary
#9D8A48 #48869D #5F489D
monochromatic
#494022 #736535 #9D8A48 #BAA868 #CDC092

Accessibility & contrast

On white

3.41
#9D8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9D8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A48
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A48#FFFFFF#000000##000000
##9D8A481.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968842
Deuteranopia (green-blind)
#9B8E4B
Tritanopia (blue-blind)
#A8817B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d8a48;
/* rgb */ color: rgb(157, 138, 72);
/* oklch */ color: oklch(63.6% 0.089 93.7);
Tailwind
colors: {
  custom: {
    50: '#bcab7d',
    500: '#9d8a48',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a48;
$custom-light: #bcab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a48",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 46.588,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.08905,
    "h": 93.7
  },
  "luminance": 0.25813
}

Semantic roles & 50–950 ramp

primary
#9D8A48
secondary
#8893B9
accent
#74CD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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