#9BC227#9BC227

#9BC227 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.9% C 0.176 H 123.6°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#9BC227
RGBrgb(155, 194, 39)
HSLhsl(75, 67%, 46%)
HSVhsv(75, 80%, 76%)
CMYKcmyk(20.1%, 0%, 79.9%, 23.9%)
CIE-LABlab(73.35, -33.08, 66.96)
CIE-LCHlch(73.35, 74.68, 116.29°)
OKLaboklab(75.9% -0.0971 0.1464)
OKLCHoklch(75.9% 0.176 123.6)
XYZxyz(33.1760, 45.6984, 8.9919)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC227 #4E27C2
analogous
#C29B27 #9BC227 #4DC227
triadic
#9BC227 #279BC2 #C2279B
tetradic
#9BC227 #27C29B #4E27C2 #C2274D
square
#9BC227 #27C29B #4E27C2 #C2274D
split-complementary
#9BC227 #274DC2 #9B27C2
monochromatic
#4A5C13 #728F1D #9BC227 #B7DB4B #CBE57E

Accessibility & contrast

On white

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

On black

10.14
#9BC227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC227
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC227#FFFFFF#000000##000000
##9BC2271.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bc227;
/* rgb */ color: rgb(155, 194, 39);
/* oklch */ color: oklch(75.9% 0.176 123.6);
Tailwind
colors: {
  custom: {
    50: '#bdd46f',
    500: '#9bc227',
    950: '#000000',
  },
}
SCSS
$custom: #9bc227;
$custom-light: #bdd46f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc227",
  "rgb": {
    "r": 155,
    "g": 194,
    "b": 39
  },
  "hsl": {
    "h": 75.097,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75903,
    "c": 0.1757,
    "h": 123.6
  },
  "luminance": 0.45699
}

Semantic roles & 50–950 ramp

primary
#9BC227
secondary
#8D77CE
accent
#3EE969
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121408
muted
#81837B

Preview Lab

Preview with #9BC227

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

Preview Lab → · Contrast checker → · Palette generator →

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