#9E8A3E#9E8A3E

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

Color values

HEX#9E8A3E
RGBrgb(158, 138, 62)
HSLhsl(48, 44%, 43%)
HSVhsv(48, 61%, 62%)
CMYKcmyk(0%, 12.7%, 60.8%, 38%)
CIE-LABlab(57.84, -1.99, 42.62)
CIE-LCHlch(57.84, 42.67, 92.68°)
OKLaboklab(63.59% -0.0081 0.0986)
OKLCHoklch(63.59% 0.099 94.7)
XYZxyz(24.0596, 25.7950, 8.2681)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A3E #3E529E
analogous
#9E5A3E #9E8A3E #829E3E
triadic
#9E8A3E #3E9E8A #8A3E9E
tetradic
#9E8A3E #3E9E5A #3E529E #9E3E82
square
#9E8A3E #3E9E5A #3E529E #9E3E82
split-complementary
#9E8A3E #3E829E #5A3E9E
monochromatic
#463D1C #72642D #9E8A3E #BFAA5B #D0C187

Accessibility & contrast

On white

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

On black

6.16
#9E8A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A3E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A3E#FFFFFF#000000##000000
##9E8A3E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8a3e;
/* rgb */ color: rgb(158, 138, 62);
/* oklch */ color: oklch(63.6% 0.099 94.7);
Tailwind
colors: {
  custom: {
    50: '#bdab76',
    500: '#9e8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a3e;
$custom-light: #bdab76;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a3e",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 47.5,
    "s": 43.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.09891,
    "h": 94.7
  },
  "luminance": 0.25794
}

Semantic roles & 50–950 ramp

primary
#9E8A3E
secondary
#7E8ABA
accent
#6FD354
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9E8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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