#B4E242#B4E242

#B4E242 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.2% C 0.188 H 124.4°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#B4E242
RGBrgb(180, 226, 66)
HSLhsl(77, 73%, 57%)
HSVhsv(77, 71%, 89%)
CMYKcmyk(20.4%, 0%, 70.8%, 11.4%)
CIE-LABlab(84.22, -36.59, 69.21)
CIE-LCHlch(84.22, 78.29, 117.86°)
OKLaboklab(85.15% -0.106 0.1548)
OKLCHoklch(85.15% 0.188 124.4)
XYZxyz(47.0025, 64.4889, 15.1245)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4E242 #7042E2
analogous
#E2C042 #B4E242 #64E242
triadic
#B4E242 #42B4E2 #E242B4
tetradic
#B4E242 #42E2C0 #7042E2 #E24264
square
#B4E242 #42E2C0 #7042E2 #E24264
split-complementary
#B4E242 #4264E2 #C042E2
monochromatic
#6F9317 #97C81F #B4E242 #C9EA77 #DEF2AC

Accessibility & contrast

On white

1.51
#B4E242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#B4E242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4E242
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4E242#FFFFFF#000000##000000
##B4E2421.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED426
Deuteranopia (green-blind)
#E8D250
Tritanopia (blue-blind)
#BCD7C3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #b4e242;
/* rgb */ color: rgb(180, 226, 66);
/* oklch */ color: oklch(85.2% 0.188 124.4);
Tailwind
colors: {
  custom: {
    50: '#ceeb80',
    500: '#b4e242',
    950: '#000000',
  },
}
SCSS
$custom: #b4e242;
$custom-light: #ceeb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4e242",
  "rgb": {
    "r": 180,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 77.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85151,
    "c": 0.18766,
    "h": 124.4
  },
  "luminance": 0.64489
}

Semantic roles & 50–950 ramp

primary
#B4E242
secondary
#4E3198
accent
#38F06D
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B4E242

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

Preview Lab → · Contrast checker → · Palette generator →

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