#9EB232#9EB232

#9EB232 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.150 H 118.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9EB232
RGBrgb(158, 178, 50)
HSLhsl(69, 56%, 45%)
HSVhsv(69, 72%, 70%)
CMYKcmyk(11.2%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.00, -23.69, 59.43)
CIE-LCHlch(69.00, 63.98, 111.73°)
OKLaboklab(72.46% -0.0706 0.1323)
OKLCHoklch(72.46% 0.15 118.1)
XYZxyz(30.5973, 39.3405, 8.9986)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB232 #4632B2
analogous
#B28632 #9EB232 #5EB232
triadic
#9EB232 #329EB2 #B2329E
tetradic
#9EB232 #32B286 #4632B2 #B2325E
square
#9EB232 #32B286 #4632B2 #B2325E
split-complementary
#9EB232 #325EB2 #8632B2
monochromatic
#495217 #748225 #9EB232 #BBCF53 #CEDC82

Accessibility & contrast

On white

2.37
#9EB232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#9EB232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB232
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB232#FFFFFF#000000##000000
##9EB2321.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81B
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb232;
/* rgb */ color: rgb(158, 178, 50);
/* oklch */ color: oklch(72.5% 0.150 118.1);
Tailwind
colors: {
  custom: {
    50: '#bec973',
    500: '#9eb232',
    950: '#000000',
  },
}
SCSS
$custom: #9eb232;
$custom-light: #bec973;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb232",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 69.375,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72462,
    "c": 0.14996,
    "h": 118.1
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

primary
#9EB232
secondary
#867BC5
accent
#48DF60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9EB232

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

Preview Lab → · Contrast checker → · Palette generator →

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