#9BC231#9BC231

#9BC231 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.0% C 0.171 H 123.9°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#9BC231
RGBrgb(155, 194, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 76%)
CMYKcmyk(20.1%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.40, -32.63, 63.95)
CIE-LCHlch(73.40, 71.79, 117.03°)
OKLaboklab(75.96% -0.0951 0.1417)
OKLCHoklch(75.96% 0.171 123.9)
XYZxyz(33.3641, 45.7736, 9.9826)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC231 #5831C2
analogous
#C2A131 #9BC231 #52C231
triadic
#9BC231 #319BC2 #C2319B
tetradic
#9BC231 #31C2A1 #5831C2 #C23152
square
#9BC231 #31C2A1 #5831C2 #C23152
split-complementary
#9BC231 #3152C2 #A131C2
monochromatic
#4D6018 #749125 #9BC231 #B4D65B #CBE28C

Accessibility & contrast

On white

2.07
#9BC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#9BC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC231
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC231#FFFFFF#000000##000000
##9BC2311.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#A3B8A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9bc231;
/* rgb */ color: rgb(155, 194, 49);
/* oklch */ color: oklch(76.0% 0.171 123.9);
Tailwind
colors: {
  custom: {
    50: '#bcd474',
    500: '#9bc231',
    950: '#000000',
  },
}
SCSS
$custom: #9bc231;
$custom-light: #bcd474;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc231",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 76.138,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75958,
    "c": 0.17069,
    "h": 123.9
  },
  "luminance": 0.45774
}

Semantic roles & 50–950 ramp

primary
#9BC231
secondary
#9683CC
accent
#45E36F
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #9BC231

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

Preview Lab → · Contrast checker → · Palette generator →

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