#9D8A3D#9D8A3D

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

Color values

HEX#9D8A3D
RGBrgb(157, 138, 61)
HSLhsl(48, 44%, 43%)
HSVhsv(48, 61%, 62%)
CMYKcmyk(0%, 12.1%, 61.1%, 38.4%)
CIE-LABlab(57.73, -2.51, 42.96)
CIE-LCHlch(57.73, 43.03, 93.35°)
OKLaboklab(63.48% -0.0096 0.0992)
OKLCHoklch(63.48% 0.1 95.5)
XYZxyz(23.8364, 25.6831, 8.1158)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8A3D #3D509D
analogous
#9D5A3D #9D8A3D #809D3D
triadic
#9D8A3D #3D9D8A #8A3D9D
tetradic
#9D8A3D #3D9D5A #3D509D #9D3D80
square
#9D8A3D #3D9D5A #3D509D #9D3D80
split-complementary
#9D8A3D #3D809D #5A3D9D
monochromatic
#453D1B #71632C #9D8A3D #BEAA59 #D0C185

Accessibility & contrast

On white

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

On black

6.14
#9D8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8A3D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8A3D#FFFFFF#000000##000000
##9D8A3D1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d8a3d;
/* rgb */ color: rgb(157, 138, 61);
/* oklch */ color: oklch(63.5% 0.100 95.5);
Tailwind
colors: {
  custom: {
    50: '#bcab75',
    500: '#9d8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d8a3d;
$custom-light: #bcab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8a3d",
  "rgb": {
    "r": 157,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 48.125,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.09966,
    "h": 95.5
  },
  "luminance": 0.25682
}

Semantic roles & 50–950 ramp

primary
#9D8A3D
secondary
#7C88BA
accent
#6DD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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