#9D8A3C#9D8A3C

#9D8A3C is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.101 H 95.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9D8A3C
RGBrgb(157, 138, 60)
HSLhsl(48, 45%, 43%)
HSVhsv(48, 62%, 62%)
CMYKcmyk(0%, 12.1%, 61.8%, 38.4%)
CIE-LABlab(57.72, -2.59, 43.43)
CIE-LCHlch(57.72, 43.51, 93.41°)
OKLaboklab(63.47% -0.01 0.1001)
OKLCHoklch(63.47% 0.101 95.7)
XYZxyz(23.8097, 25.6724, 7.9752)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A3C #3C4F9D
analogous
#9D593C #9D8A3C #809D3C
triadic
#9D8A3C #3C9D8A #8A3C9D
tetradic
#9D8A3C #3C9D59 #3C4F9D #9D3C80
square
#9D8A3C #3C9D59 #3C4F9D #9D3C80
split-complementary
#9D8A3C #3C809D #593C9D
monochromatic
#443C1A #71632B #9D8A3C #BFAB57 #D0C184

Accessibility & contrast

On white

3.42
#9D8A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9D8A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A3C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A3C#FFFFFF#000000##000000
##9D8A3C1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978734
Deuteranopia (green-blind)
#9C8D40
Tritanopia (blue-blind)
#A98079
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d8a3c;
/* rgb */ color: rgb(157, 138, 60);
/* oklch */ color: oklch(63.5% 0.101 95.7);
Tailwind
colors: {
  custom: {
    50: '#bdab75',
    500: '#9d8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a3c;
$custom-light: #bdab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a3c",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 48.247,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.10055,
    "h": 95.7
  },
  "luminance": 0.25671
}

Semantic roles & 50–950 ramp

primary
#9D8A3C
secondary
#7B87BA
accent
#6DD453
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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