#9D893A#9D893A

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

Color values

HEX#9D893A
RGBrgb(157, 137, 58)
HSLhsl(48, 46%, 42%)
HSVhsv(48, 63%, 62%)
CMYKcmyk(0%, 12.7%, 63.1%, 38.4%)
CIE-LABlab(57.43, -2.18, 44.06)
CIE-LCHlch(57.43, 44.12, 92.83°)
OKLaboklab(63.23% -0.009 0.1011)
OKLCHoklch(63.23% 0.102 95.1)
XYZxyz(23.6150, 25.3661, 7.6544)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D893A #3A4E9D
analogous
#9D583A #9D893A #809D3A
triadic
#9D893A #3A9D89 #893A9D
tetradic
#9D893A #3A9D58 #3A4E9D #9D3A80
square
#9D893A #3A9D58 #3A4E9D #9D3A80
split-complementary
#9D893A #3A809D #583A9D
monochromatic
#443B19 #706229 #9D893A #C0AA54 #D0C081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D893A#FFFFFF#000000##000000
##9D893A1.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)
#968631
Deuteranopia (green-blind)
#9B8D3E
Tritanopia (blue-blind)
#A97F78
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d893a;
/* rgb */ color: rgb(157, 137, 58);
/* oklch */ color: oklch(63.2% 0.102 95.1);
Tailwind
colors: {
  custom: {
    50: '#bdab73',
    500: '#9d893a',
    950: '#000000',
  },
}
SCSS
$custom: #9d893a;
$custom-light: #bdab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9d893a",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 47.879,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.10153,
    "h": 95.1
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#9D893A
secondary
#7986BA
accent
#6DD652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D893A

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

Preview Lab → · Contrast checker → · Palette generator →

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