#9E8932#9E8932

#9E8932 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.108 H 95.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E8932
RGBrgb(158, 137, 50)
HSLhsl(48, 52%, 41%)
HSVhsv(48, 68%, 62%)
CMYKcmyk(0%, 13.3%, 68.4%, 38%)
CIE-LABlab(57.46, -2.25, 47.79)
CIE-LCHlch(57.46, 47.84, 92.70°)
OKLaboklab(63.25% -0.0103 0.1078)
OKLCHoklch(63.25% 0.108 95.5)
XYZxyz(23.6231, 25.3919, 6.6738)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8932 #32479E
analogous
#9E5332 #9E8932 #7D9E32
triadic
#9E8932 #329E89 #89329E
tetradic
#9E8932 #329E53 #32479E #9E327D
square
#9E8932 #329E53 #32479E #9E327D
split-complementary
#9E8932 #327D9E #53329E
monochromatic
#413815 #706123 #9E8932 #C5AD48 #D4C277

Accessibility & contrast

On white

3.45
#9E8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9E8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8932
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8932#FFFFFF#000000##000000
##9E89321.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978627
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#AA7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8932;
/* rgb */ color: rgb(158, 137, 50);
/* oklch */ color: oklch(63.3% 0.108 95.5);
Tailwind
colors: {
  custom: {
    50: '#beab6f',
    500: '#9e8932',
    950: '#000000',
  },
}
SCSS
$custom: #9e8932;
$custom-light: #beab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8932",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 48.333,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63251,
    "c": 0.10824,
    "h": 95.5
  },
  "luminance": 0.25391
}

Semantic roles & 50–950 ramp

primary
#9E8932
secondary
#707FBC
accent
#68DB4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8932

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

Preview Lab → · Contrast checker → · Palette generator →

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