#B4E228#B4E228

#B4E228 is a very light, highly saturated yellow-green. Relative luminance 0.642; OKLCH L 85.0% C 0.200 H 123.7°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#B4E228
RGBrgb(180, 226, 40)
HSLhsl(75, 76%, 52%)
HSVhsv(75, 82%, 89%)
CMYKcmyk(20.4%, 0%, 82.3%, 11.4%)
CIE-LABlab(84.10, -37.74, 76.79)
CIE-LCHlch(84.10, 85.56, 116.17°)
OKLaboklab(85.01% -0.111 0.1668)
OKLCHoklch(85.01% 0.2 123.7)
XYZxyz(46.4024, 64.2489, 11.9637)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E228 #5628E2
analogous
#E2B328 #B4E228 #57E228
triadic
#B4E228 #28B4E2 #E228B4
tetradic
#B4E228 #28E2B3 #5628E2 #E22857
square
#B4E228 #28E2B3 #5628E2 #E22857
split-complementary
#B4E228 #2857E2 #B328E2
monochromatic
#637F11 #8EB418 #B4E228 #C7E95E #DAF194

Accessibility & contrast

On white

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

On black

13.85
#B4E228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E228
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E228#FFFFFF#000000##000000
##B4E2281.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4e228;
/* rgb */ color: rgb(180, 226, 40);
/* oklch */ color: oklch(85.0% 0.200 123.7);
Tailwind
colors: {
  custom: {
    50: '#cfeb75',
    500: '#b4e228',
    950: '#000000',
  },
}
SCSS
$custom: #b4e228;
$custom-light: #cfeb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e228",
  "rgb": {
    "r": 180,
    "g": 226,
    "b": 40
  },
  "hsl": {
    "h": 74.839,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.85011,
    "c": 0.20035,
    "h": 123.7
  },
  "luminance": 0.64249
}

Semantic roles & 50–950 ramp

primary
#B4E228
secondary
#402986
accent
#35F364
background
#FEFEFB
surface
#FBFDF1
border
#D4D5CB
text
#141609
muted
#83847D

Preview Lab

Preview with #B4E228

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

Preview Lab → · Contrast checker → · Palette generator →

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