#9E8532#9E8532

#9E8532 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.105 H 92.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9E8532
RGBrgb(158, 133, 50)
HSLhsl(46, 52%, 41%)
HSVhsv(46, 68%, 62%)
CMYKcmyk(0%, 15.8%, 68.4%, 38%)
CIE-LABlab(56.36, -0.04, 46.65)
CIE-LCHlch(56.36, 46.65, 90.05°)
OKLaboklab(62.39% -0.004 0.1053)
OKLCHoklch(62.39% 0.105 92.2)
XYZxyz(23.0650, 24.2757, 6.4878)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8532 #324B9E
analogous
#9E4F32 #9E8532 #819E32
triadic
#9E8532 #329E85 #85329E
tetradic
#9E8532 #329E4F #324B9E #9E3281
square
#9E8532 #329E4F #324B9E #9E3281
split-complementary
#9E8532 #32819E #4F329E
monochromatic
#413715 #705E23 #9E8532 #C5A848 #D4BE77

Accessibility & contrast

On white

3.59
#9E8532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9E8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8532
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8532#FFFFFF#000000##000000
##9E85321.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938328
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#AB7A74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8532;
/* rgb */ color: rgb(158, 133, 50);
/* oklch */ color: oklch(62.4% 0.105 92.2);
Tailwind
colors: {
  custom: {
    50: '#bea86e',
    500: '#9e8532',
    950: '#000000',
  },
}
SCSS
$custom: #9e8532;
$custom-light: #bea86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8532",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 46.111,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.10539,
    "h": 92.2
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#9E8532
secondary
#7081BC
accent
#6EDB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E8532

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

Preview Lab → · Contrast checker → · Palette generator →

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