#9E893A#9E893A

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

Color values

HEX#9E893A
RGBrgb(158, 137, 58)
HSLhsl(47, 46%, 42%)
HSVhsv(47, 63%, 62%)
CMYKcmyk(0%, 13.3%, 63.3%, 38%)
CIE-LABlab(57.53, -1.73, 44.20)
CIE-LCHlch(57.53, 44.23, 92.24°)
OKLaboklab(63.33% -0.0078 0.1014)
OKLCHoklch(63.33% 0.102 94.4)
XYZxyz(23.8110, 25.4671, 7.6636)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E893A #3A4F9E
analogous
#9E573A #9E893A #819E3A
triadic
#9E893A #3A9E89 #893A9E
tetradic
#9E893A #3A9E57 #3A4F9E #9E3A81
square
#9E893A #3A9E57 #3A4F9E #9E3A81
split-complementary
#9E893A #3A819E #573A9E
monochromatic
#443B19 #71622A #9E893A #C0AA55 #D1C081

Accessibility & contrast

On white

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

On black

6.09
#9E893A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E893A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E893A#FFFFFF#000000##000000
##9E893A1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e893a;
/* rgb */ color: rgb(158, 137, 58);
/* oklch */ color: oklch(63.3% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#bdab73',
    500: '#9e893a',
    950: '#000000',
  },
}
SCSS
$custom: #9e893a;
$custom-light: #bdab73;
$custom-dark: #000000;
JSON
{
  "hex": "#9e893a",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 47.4,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.10169,
    "h": 94.4
  },
  "luminance": 0.25466
}

Semantic roles & 50–950 ramp

primary
#9E893A
secondary
#7987BB
accent
#6ED652
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E893A

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

Preview Lab → · Contrast checker → · Palette generator →

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