#9E8A4E#9E8A4E

#9E8A4E is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.083 H 91.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9E8A4E
RGBrgb(158, 138, 78)
HSLhsl(45, 34%, 46%)
HSVhsv(45, 51%, 62%)
CMYKcmyk(0%, 12.7%, 50.6%, 38%)
CIE-LABlab(58.03, -0.62, 34.69)
CIE-LCHlch(58.03, 34.70, 91.03°)
OKLaboklab(63.81% -0.0022 0.083)
OKLCHoklch(63.81% 0.083 91.5)
XYZxyz(24.5650, 25.9972, 10.9303)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A4E #4E629E
analogous
#9E624E #9E8A4E #8A9E4E
triadic
#9E8A4E #4E9E8A #8A4E9E
tetradic
#9E8A4E #4E9E62 #4E629E #9E4E8A
square
#9E8A4E #4E9E62 #4E629E #9E4E8A
split-complementary
#9E8A4E #4E8A9E #624E9E
monochromatic
#4C4226 #75663A #9E8A4E #B9A771 #CDC09A

Accessibility & contrast

On white

3.39
#9E8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9E8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A4E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A4E#FFFFFF#000000##000000
##9E8A4E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968849
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#A9817C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a4e;
/* rgb */ color: rgb(158, 138, 78);
/* oklch */ color: oklch(63.8% 0.083 91.5);
Tailwind
colors: {
  custom: {
    50: '#bcac81',
    500: '#9e8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a4e;
$custom-light: #bcac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a4e",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 45,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.08303,
    "h": 91.5
  },
  "luminance": 0.25996
}

Semantic roles & 50–950 ramp

primary
#9E8A4E
secondary
#8E99BA
accent
#79CA5E
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9E8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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