#9BB228#9BB228

#9BB228 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.2% C 0.157 H 119.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9BB228
RGBrgb(155, 178, 40)
HSLhsl(70, 63%, 43%)
HSVhsv(70, 78%, 70%)
CMYKcmyk(12.9%, 0%, 77.5%, 30.2%)
CIE-LABlab(68.72, -25.43, 62.46)
CIE-LCHlch(68.72, 67.44, 112.16°)
OKLaboklab(72.17% -0.0761 0.1371)
OKLCHoklch(72.17% 0.157 119)
XYZxyz(29.8216, 38.9628, 7.9566)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB228 #3F28B2
analogous
#B28428 #9BB228 #56B228
triadic
#9BB228 #289BB2 #B2289B
tetradic
#9BB228 #28B284 #3F28B2 #B22856
square
#9BB228 #28B284 #3F28B2 #B22856
split-complementary
#9BB228 #2856B2 #8428B2
monochromatic
#444E12 #6F801D #9BB228 #BCD543 #CEE075

Accessibility & contrast

On white

2.39
#9BB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9BB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB228
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB228#FFFFFF#000000##000000
##9BB2281.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A4A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb228;
/* rgb */ color: rgb(155, 178, 40);
/* oklch */ color: oklch(72.2% 0.157 119.0);
Tailwind
colors: {
  custom: {
    50: '#bcc96e',
    500: '#9bb228',
    950: '#000000',
  },
}
SCSS
$custom: #9bb228;
$custom-light: #bcc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb228",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 70,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7217,
    "c": 0.15679,
    "h": 119
  },
  "luminance": 0.38963
}

Semantic roles & 50–950 ramp

primary
#9BB228
secondary
#7D6FC7
accent
#41E65D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB228

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

Preview Lab → · Contrast checker → · Palette generator →

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