#9E9533#9E9533

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

Color values

HEX#9E9533
RGBrgb(158, 149, 51)
HSLhsl(55, 51%, 41%)
HSVhsv(55, 68%, 62%)
CMYKcmyk(0%, 5.7%, 67.7%, 38%)
CIE-LABlab(60.79, -8.72, 50.81)
CIE-LCHlch(60.79, 51.55, 99.73°)
OKLaboklab(65.9% -0.0286 0.1143)
OKLCHoklch(65.9% 0.118 104.1)
XYZxyz(25.4465, 29.0040, 7.3893)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9533 #333C9E
analogous
#9E5F33 #9E9533 #719E33
triadic
#9E9533 #339E95 #95339E
tetradic
#9E9533 #339E5F #333C9E #9E3371
square
#9E9533 #339E5F #333C9E #9E3371
split-complementary
#9E9533 #33719E #5F339E
monochromatic
#413E15 #706924 #9E9533 #C4BA4A #D3CC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9533#FFFFFF#000000##000000
##9E95331.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)
#A29026
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9533;
/* rgb */ color: rgb(158, 149, 51);
/* oklch */ color: oklch(65.9% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#beb370',
    500: '#9e9533',
    950: '#000000',
  },
}
SCSS
$custom: #9e9533;
$custom-light: #beb370;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9533",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 54.953,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65895,
    "c": 0.11783,
    "h": 104.1
  },
  "luminance": 0.29003
}

Semantic roles & 50–950 ramp

primary
#9E9533
secondary
#7177BC
accent
#59DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9533

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

Preview Lab → · Contrast checker → · Palette generator →

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