#9EB332#9EB332

#9EB332 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.151 H 118.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9EB332
RGBrgb(158, 179, 50)
HSLhsl(70, 56%, 45%)
HSVhsv(70, 72%, 70%)
CMYKcmyk(11.7%, 0%, 72.1%, 29.8%)
CIE-LABlab(69.28, -24.18, 59.71)
CIE-LCHlch(69.28, 64.42, 112.05°)
OKLaboklab(72.69% -0.072 0.1329)
OKLCHoklch(72.69% 0.151 118.4)
XYZxyz(30.7970, 39.7398, 9.0652)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB332 #4732B3
analogous
#B38732 #9EB332 #5EB332
triadic
#9EB332 #329EB3 #B3329E
tetradic
#9EB332 #32B387 #4732B3 #B3325E
square
#9EB332 #32B387 #4732B3 #B3325E
split-complementary
#9EB332 #325EB3 #8732B3
monochromatic
#4A5317 #748325 #9EB332 #BBCF53 #CEDC83

Accessibility & contrast

On white

2.35
#9EB332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9EB332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB332
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB332#FFFFFF#000000##000000
##9EB3321.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#A7A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb332;
/* rgb */ color: rgb(158, 179, 50);
/* oklch */ color: oklch(72.7% 0.151 118.4);
Tailwind
colors: {
  custom: {
    50: '#bec973',
    500: '#9eb332',
    950: '#000000',
  },
}
SCSS
$custom: #9eb332;
$custom-light: #bec973;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb332",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 69.767,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72693,
    "c": 0.15113,
    "h": 118.4
  },
  "luminance": 0.3974
}

Semantic roles & 50–950 ramp

primary
#9EB332
secondary
#877BC6
accent
#48E061
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9EB332

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

Preview Lab → · Contrast checker → · Palette generator →

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