#9D893D#9D893D

#9D893D is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.099 H 94.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D893D
RGBrgb(157, 137, 61)
HSLhsl(48, 44%, 43%)
HSVhsv(48, 61%, 62%)
CMYKcmyk(0%, 12.7%, 61.1%, 38.4%)
CIE-LABlab(57.46, -1.96, 42.65)
CIE-LCHlch(57.46, 42.70, 92.63°)
OKLaboklab(63.27% -0.008 0.0985)
OKLCHoklch(63.27% 0.099 94.7)
XYZxyz(23.6936, 25.3975, 8.0682)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D893D #3D519D
analogous
#9D593D #9D893D #819D3D
triadic
#9D893D #3D9D89 #893D9D
tetradic
#9D893D #3D9D59 #3D519D #9D3D81
square
#9D893D #3D9D59 #3D519D #9D3D81
split-complementary
#9D893D #3D819D #593D9D
monochromatic
#453C1B #71632C #9D893D #BEA959 #D0C085

Accessibility & contrast

On white

3.45
#9D893D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9D893D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D893D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D893D#FFFFFF#000000##000000
##9D893D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d893d;
/* rgb */ color: rgb(157, 137, 61);
/* oklch */ color: oklch(63.3% 0.099 94.7);
Tailwind
colors: {
  custom: {
    50: '#bcab75',
    500: '#9d893d',
    950: '#000000',
  },
}
SCSS
$custom: #9d893d;
$custom-light: #bcab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9d893d",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 47.5,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63265,
    "c": 0.09886,
    "h": 94.7
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#9D893D
secondary
#7C89BA
accent
#6FD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9D893D

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

Preview Lab → · Contrast checker → · Palette generator →

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