#9E9531#9E9531

#9E9531 is a light, moderate yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.119 H 104.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E9531
RGBrgb(158, 149, 49)
HSLhsl(55, 53%, 41%)
HSVhsv(55, 69%, 62%)
CMYKcmyk(0%, 5.7%, 69%, 38%)
CIE-LABlab(60.77, -8.83, 51.63)
CIE-LCHlch(60.77, 52.38, 99.71°)
OKLaboklab(65.88% -0.0292 0.1157)
OKLCHoklch(65.88% 0.119 104.1)
XYZxyz(25.4034, 28.9867, 7.1620)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9531 #313A9E
analogous
#9E5E31 #9E9531 #709E31
triadic
#9E9531 #319E95 #95319E
tetradic
#9E9531 #319E5E #313A9E #9E3170
square
#9E9531 #319E5E #313A9E #9E3170
split-complementary
#9E9531 #31709E #5E319E
monochromatic
#413D14 #6F6923 #9E9531 #C6BB46 #D4CC75

Accessibility & contrast

On white

3.09
#9E9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9E9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E9531
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9531#FFFFFF#000000##000000
##9E95311.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29023
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9531;
/* rgb */ color: rgb(158, 149, 49);
/* oklch */ color: oklch(65.9% 0.119 104.1);
Tailwind
colors: {
  custom: {
    50: '#beb36f',
    500: '#9e9531',
    950: '#000000',
  },
}
SCSS
$custom: #9e9531;
$custom-light: #beb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9531",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 55.046,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.1193,
    "h": 104.1
  },
  "luminance": 0.28986
}

Semantic roles & 50–950 ramp

primary
#9E9531
secondary
#6E75BC
accent
#58DC4C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9531

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

Preview Lab → · Contrast checker → · Palette generator →

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