#B1E228#B1E228

#B1E228 is a very light, highly saturated yellow-green. Relative luminance 0.639; OKLCH L 84.8% C 0.202 H 124.4°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#B1E228
RGBrgb(177, 226, 40)
HSLhsl(76, 76%, 52%)
HSVhsv(76, 82%, 89%)
CMYKcmyk(21.7%, 0%, 82.3%, 11.4%)
CIE-LABlab(83.91, -38.90, 76.55)
CIE-LCHlch(83.91, 85.87, 116.94°)
OKLaboklab(84.81% -0.114 0.1664)
OKLCHoklch(84.81% 0.202 124.4)
XYZxyz(45.7114, 63.8925, 11.9313)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1E228 #5928E2
analogous
#E2B628 #B1E228 #54E228
triadic
#B1E228 #28B1E2 #E228B1
tetradic
#B1E228 #28E2B6 #5928E2 #E22854
square
#B1E228 #28E2B6 #5928E2 #E22854
split-complementary
#B1E228 #2854E2 #B628E2
monochromatic
#627F11 #8BB418 #B1E228 #C5E95E #D8F194

Accessibility & contrast

On white

1.52
#B1E228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#B1E228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1E228
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1E228#FFFFFF#000000##000000
##B1E2281.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD300
Deuteranopia (green-blind)
#E9D13E
Tritanopia (blue-blind)
#BAD7C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b1e228;
/* rgb */ color: rgb(177, 226, 40);
/* oklch */ color: oklch(84.8% 0.202 124.4);
Tailwind
colors: {
  custom: {
    50: '#cdeb75',
    500: '#b1e228',
    950: '#000000',
  },
}
SCSS
$custom: #b1e228;
$custom-light: #cdeb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1e228",
  "rgb": {
    "r": 177,
    "g": 226,
    "b": 40
  },
  "hsl": {
    "h": 75.806,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.84813,
    "c": 0.2017,
    "h": 124.4
  },
  "luminance": 0.63893
}

Semantic roles & 50–950 ramp

primary
#B1E228
secondary
#412986
accent
#35F367
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #B1E228

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

Preview Lab → · Contrast checker → · Palette generator →

#B1E228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva