#9E9232#9E9232

#9E9232 is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.2% C 0.116 H 102.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9E9232
RGBrgb(158, 146, 50)
HSLhsl(53, 52%, 41%)
HSVhsv(53, 68%, 62%)
CMYKcmyk(0%, 7.6%, 68.4%, 38%)
CIE-LABlab(59.94, -7.16, 50.36)
CIE-LCHlch(59.94, 50.87, 98.09°)
OKLaboklab(65.22% -0.0243 0.1132)
OKLCHoklch(65.22% 0.116 102.1)
XYZxyz(24.9562, 28.0582, 7.1182)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9232 #323E9E
analogous
#9E5C32 #9E9232 #749E32
triadic
#9E9232 #329E92 #92329E
tetradic
#9E9232 #329E5C #323E9E #9E3274
square
#9E9232 #329E5C #323E9E #9E3274
split-complementary
#9E9232 #32749E #5C329E
monochromatic
#413C15 #706723 #9E9232 #C5B748 #D4C977

Accessibility & contrast

On white

3.18
#9E9232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9E9232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9232
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9232#FFFFFF#000000##000000
##9E92321.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D25
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#AA887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e9232;
/* rgb */ color: rgb(158, 146, 50);
/* oklch */ color: oklch(65.2% 0.116 102.1);
Tailwind
colors: {
  custom: {
    50: '#beb16f',
    500: '#9e9232',
    950: '#000000',
  },
}
SCSS
$custom: #9e9232;
$custom-light: #beb16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9232",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 50
  },
  "hsl": {
    "h": 53.333,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65222,
    "c": 0.11577,
    "h": 102.1
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#9E9232
secondary
#7078BC
accent
#5CDB4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E9232

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

Preview Lab → · Contrast checker → · Palette generator →

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