#9E9331#9E9331

#9E9331 is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.117 H 102.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E9331
RGBrgb(158, 147, 49)
HSLhsl(54, 53%, 41%)
HSVhsv(54, 69%, 62%)
CMYKcmyk(0%, 7%, 69%, 38%)
CIE-LABlab(60.21, -7.76, 51.06)
CIE-LCHlch(60.21, 51.65, 98.64°)
OKLaboklab(65.43% -0.0261 0.1145)
OKLCHoklch(65.43% 0.117 102.9)
XYZxyz(25.0897, 28.3593, 7.0574)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9331 #313C9E
analogous
#9E5C31 #9E9331 #729E31
triadic
#9E9331 #319E93 #93319E
tetradic
#9E9331 #319E5C #313C9E #9E3172
square
#9E9331 #319E5C #313C9E #9E3172
split-complementary
#9E9331 #31729E #5C319E
monochromatic
#413C14 #6F6823 #9E9331 #C6B946 #D4CB75

Accessibility & contrast

On white

3.15
#9E9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9E9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9331
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9331#FFFFFF#000000##000000
##9E93311.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#AA897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9e9331;
/* rgb */ color: rgb(158, 147, 49);
/* oklch */ color: oklch(65.4% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#beb26f',
    500: '#9e9331',
    950: '#000000',
  },
}
SCSS
$custom: #9e9331;
$custom-light: #beb26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9331",
  "rgb": {
    "r": 158,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 53.945,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.11742,
    "h": 102.9
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#9E9331
secondary
#6E76BC
accent
#5ADC4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E9331

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

Preview Lab → · Contrast checker → · Palette generator →

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