#9E8A32#9E8A32

#9E8A32 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.109 H 96.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9E8A32
RGBrgb(158, 138, 50)
HSLhsl(49, 52%, 41%)
HSVhsv(49, 68%, 62%)
CMYKcmyk(0%, 12.7%, 68.4%, 38%)
CIE-LABlab(57.73, -2.80, 48.08)
CIE-LCHlch(57.73, 48.16, 93.34°)
OKLaboklab(63.47% -0.0119 0.1084)
OKLCHoklch(63.47% 0.109 96.3)
XYZxyz(23.7659, 25.6775, 6.7214)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A32 #32469E
analogous
#9E5432 #9E8A32 #7C9E32
triadic
#9E8A32 #329E8A #8A329E
tetradic
#9E8A32 #329E54 #32469E #9E327C
square
#9E8A32 #329E54 #32469E #9E327C
split-complementary
#9E8A32 #327C9E #54329E
monochromatic
#413915 #706123 #9E8A32 #C5AE48 #D4C377

Accessibility & contrast

On white

3.42
#9E8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9E8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A32
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A32#FFFFFF#000000##000000
##9E8A321.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988727
Deuteranopia (green-blind)
#9D8D37
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a32;
/* rgb */ color: rgb(158, 138, 50);
/* oklch */ color: oklch(63.5% 0.109 96.3);
Tailwind
colors: {
  custom: {
    50: '#beab6f',
    500: '#9e8a32',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a32;
$custom-light: #beab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a32",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 48.889,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63468,
    "c": 0.109,
    "h": 96.3
  },
  "luminance": 0.25676
}

Semantic roles & 50–950 ramp

primary
#9E8A32
secondary
#707EBC
accent
#67DB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9E8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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