#9E893F#9E893F

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

Color values

HEX#9E893F
RGBrgb(158, 137, 63)
HSLhsl(47, 43%, 43%)
HSVhsv(47, 60%, 62%)
CMYKcmyk(0%, 13.3%, 60.1%, 38%)
CIE-LABlab(57.58, -1.37, 41.83)
CIE-LCHlch(57.58, 41.86, 91.87°)
OKLaboklab(63.39% -0.0061 0.097)
OKLCHoklch(63.39% 0.097 93.6)
XYZxyz(23.9444, 25.5205, 8.3664)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E893F #3F549E
analogous
#9E593F #9E893F #839E3F
triadic
#9E893F #3F9E89 #893F9E
tetradic
#9E893F #3F9E59 #3F549E #9E3F83
square
#9E893F #3F9E59 #3F549E #9E3F83
split-complementary
#9E893F #3F839E #593F9E
monochromatic
#463D1C #72632E #9E893F #BEA85C #D0C088

Accessibility & contrast

On white

3.44
#9E893F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E893F#FFFFFF#000000##000000
##9E893F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968738
Deuteranopia (green-blind)
#9B8D42
Tritanopia (blue-blind)
#AA7F79
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e893f;
/* rgb */ color: rgb(158, 137, 63);
/* oklch */ color: oklch(63.4% 0.097 93.6);
Tailwind
colors: {
  custom: {
    50: '#bdab77',
    500: '#9e893f',
    950: '#000000',
  },
}
SCSS
$custom: #9e893f;
$custom-light: #bdab77;
$custom-dark: #000000;
JSON
{
  "hex": "#9e893f",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 46.737,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.09721,
    "h": 93.6
  },
  "luminance": 0.25519
}

Semantic roles & 50–950 ramp

primary
#9E893F
secondary
#7F8CBA
accent
#71D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9E893F

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

Preview Lab → · Contrast checker → · Palette generator →

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