#9D893B#9D893B

#9D893B is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.101 H 95.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9D893B
RGBrgb(157, 137, 59)
HSLhsl(48, 45%, 42%)
HSVhsv(48, 62%, 62%)
CMYKcmyk(0%, 12.7%, 62.4%, 38.4%)
CIE-LABlab(57.44, -2.11, 43.59)
CIE-LCHlch(57.44, 43.65, 92.77°)
OKLaboklab(63.24% -0.0087 0.1003)
OKLCHoklch(63.24% 0.101 95)
XYZxyz(23.6407, 25.3763, 7.7897)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D893B #3B4F9D
analogous
#9D583B #9D893B #809D3B
triadic
#9D893B #3B9D89 #893B9D
tetradic
#9D893B #3B9D58 #3B4F9D #9D3B80
square
#9D893B #3B9D58 #3B4F9D #9D3B80
split-complementary
#9D893B #3B809D #583B9D
monochromatic
#443B1A #71622A #9D893B #BFAA56 #D0C082

Accessibility & contrast

On white

3.46
#9D893B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#9D893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D893B
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D893B#FFFFFF#000000##000000
##9D893B1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968633
Deuteranopia (green-blind)
#9B8D3F
Tritanopia (blue-blind)
#A97F78
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d893b;
/* rgb */ color: rgb(157, 137, 59);
/* oklch */ color: oklch(63.2% 0.101 95.0);
Tailwind
colors: {
  custom: {
    50: '#bdab74',
    500: '#9d893b',
    950: '#000000',
  },
}
SCSS
$custom: #9d893b;
$custom-light: #bdab74;
$custom-dark: #000000;
JSON
{
  "hex": "#9d893b",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 47.755,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63243,
    "c": 0.10065,
    "h": 95
  },
  "luminance": 0.25375
}

Semantic roles & 50–950 ramp

primary
#9D893B
secondary
#7A87BA
accent
#6DD553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D893B

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

Preview Lab → · Contrast checker → · Palette generator →

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