#9D893E#9D893E

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

Color values

HEX#9D893E
RGBrgb(157, 137, 62)
HSLhsl(47, 43%, 43%)
HSVhsv(47, 61%, 62%)
CMYKcmyk(0%, 12.7%, 60.5%, 38.4%)
CIE-LABlab(57.47, -1.89, 42.18)
CIE-LCHlch(57.47, 42.22, 92.56°)
OKLaboklab(63.28% -0.0077 0.0977)
OKLCHoklch(63.28% 0.098 94.5)
XYZxyz(23.7208, 25.4084, 8.2113)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D893E #3E529D
analogous
#9D593E #9D893E #829D3E
triadic
#9D893E #3E9D89 #893E9D
tetradic
#9D893E #3E9D59 #3E529D #9D3E82
square
#9D893E #3E9D59 #3E529D #9D3E82
split-complementary
#9D893E #3E829D #593E9D
monochromatic
#453C1B #71632D #9D893E #BEA95A #CFC086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D893E#FFFFFF#000000##000000
##9D893E1.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)
#968636
Deuteranopia (green-blind)
#9B8D41
Tritanopia (blue-blind)
#A97F78
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d893e;
/* rgb */ color: rgb(157, 137, 62);
/* oklch */ color: oklch(63.3% 0.098 94.5);
Tailwind
colors: {
  custom: {
    50: '#bcab76',
    500: '#9d893e',
    950: '#000000',
  },
}
SCSS
$custom: #9d893e;
$custom-light: #bcab76;
$custom-dark: #000000;
JSON
{
  "hex": "#9d893e",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 47.368,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.09795,
    "h": 94.5
  },
  "luminance": 0.25407
}

Semantic roles & 50–950 ramp

primary
#9D893E
secondary
#7D8ABA
accent
#6FD355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9D893E

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

Preview Lab → · Contrast checker → · Palette generator →

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