#9E8A3C#9E8A3C

#9E8A3C is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.101 H 95.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9E8A3C
RGBrgb(158, 138, 60)
HSLhsl(48, 45%, 43%)
HSVhsv(48, 62%, 62%)
CMYKcmyk(0%, 12.7%, 62%, 38%)
CIE-LABlab(57.82, -2.14, 43.57)
CIE-LCHlch(57.82, 43.62, 92.81°)
OKLaboklab(63.57% -0.0088 0.1003)
OKLCHoklch(63.57% 0.101 95)
XYZxyz(24.0057, 25.7735, 7.9844)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A3C #3C509E
analogous
#9E593C #9E8A3C #819E3C
triadic
#9E8A3C #3C9E8A #8A3C9E
tetradic
#9E8A3C #3C9E59 #3C509E #9E3C81
square
#9E8A3C #3C9E59 #3C509E #9E3C81
split-complementary
#9E8A3C #3C819E #593C9E
monochromatic
#453D1A #72632B #9E8A3C #BFAA58 #D0C184

Accessibility & contrast

On white

3.41
#9E8A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9E8A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A3C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A3C#FFFFFF#000000##000000
##9E8A3C1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978734
Deuteranopia (green-blind)
#9C8E40
Tritanopia (blue-blind)
#AA8079
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a3c;
/* rgb */ color: rgb(158, 138, 60);
/* oklch */ color: oklch(63.6% 0.101 95.0);
Tailwind
colors: {
  custom: {
    50: '#bdab75',
    500: '#9e8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a3c;
$custom-light: #bdab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a3c",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 47.755,
    "s": 44.954,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.10071,
    "h": 95
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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