#9E9532#9E9532

#9E9532 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#9E9532
RGBrgb(158, 149, 50)
HSLhsl(55, 52%, 41%)
HSVhsv(55, 68%, 62%)
CMYKcmyk(0%, 5.7%, 68.4%, 38%)
CIE-LABlab(60.78, -8.77, 51.22)
CIE-LCHlch(60.78, 51.97, 99.72°)
OKLaboklab(65.89% -0.0289 0.115)
OKLCHoklch(65.89% 0.119 104.1)
XYZxyz(25.4247, 28.9953, 7.2744)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9532 #323B9E
analogous
#9E5F32 #9E9532 #719E32
triadic
#9E9532 #329E95 #95329E
tetradic
#9E9532 #329E5F #323B9E #9E3271
square
#9E9532 #329E5F #323B9E #9E3271
split-complementary
#9E9532 #32719E #5F329E
monochromatic
#413D15 #706923 #9E9532 #C5BB48 #D4CC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E9532#FFFFFF#000000##000000
##9E95321.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)
#A29024
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e9532;
/* rgb */ color: rgb(158, 149, 50);
/* oklch */ color: oklch(65.9% 0.119 104.1);
Tailwind
colors: {
  custom: {
    50: '#beb370',
    500: '#9e9532',
    950: '#000000',
  },
}
SCSS
$custom: #9e9532;
$custom-light: #beb370;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9532",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 55,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.11856,
    "h": 104.1
  },
  "luminance": 0.28994
}

Semantic roles & 50–950 ramp

primary
#9E9532
secondary
#7076BC
accent
#58DB4C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9E9532

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

Preview Lab → · Contrast checker → · Palette generator →

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