#9E893B#9E893B

#9E893B is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.3% C 0.101 H 94.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9E893B
RGBrgb(158, 137, 59)
HSLhsl(47, 46%, 43%)
HSVhsv(47, 63%, 62%)
CMYKcmyk(0%, 13.3%, 62.7%, 38%)
CIE-LABlab(57.54, -1.66, 43.73)
CIE-LCHlch(57.54, 43.76, 92.18°)
OKLaboklab(63.34% -0.0075 0.1005)
OKLCHoklch(63.34% 0.101 94.3)
XYZxyz(23.8367, 25.4774, 7.7989)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E893B #3B509E
analogous
#9E583B #9E893B #819E3B
triadic
#9E893B #3B9E89 #893B9E
tetradic
#9E893B #3B9E58 #3B509E #9E3B81
square
#9E893B #3B9E58 #3B509E #9E3B81
split-complementary
#9E893B #3B819E #583B9E
monochromatic
#453C1A #71622A #9E893B #C0AA56 #D1C083

Accessibility & contrast

On white

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

On black

6.10
#9E893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E893B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E893B#FFFFFF#000000##000000
##9E893B1.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e893b;
/* rgb */ color: rgb(158, 137, 59);
/* oklch */ color: oklch(63.3% 0.101 94.3);
Tailwind
colors: {
  custom: {
    50: '#bdab74',
    500: '#9e893b',
    950: '#000000',
  },
}
SCSS
$custom: #9e893b;
$custom-light: #bdab74;
$custom-dark: #000000;
JSON
{
  "hex": "#9e893b",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 47.273,
    "s": 45.622,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.10082,
    "h": 94.3
  },
  "luminance": 0.25476
}

Semantic roles & 50–950 ramp

primary
#9E893B
secondary
#7A88BB
accent
#6ED553
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E893B

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

Preview Lab → · Contrast checker → · Palette generator →

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