#B4EC52#B4EC52

#B4EC52 is a very light, vivid yellow-green. Relative luminance 0.703; OKLCH L 87.6% C 0.189 H 127.1°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#B4EC52
RGBrgb(180, 236, 82)
HSLhsl(82, 80%, 62%)
HSVhsv(82, 65%, 93%)
CMYKcmyk(23.7%, 0%, 65.3%, 7.5%)
CIE-LABlab(87.14, -40.05, 66.27)
CIE-LCHlch(87.14, 77.43, 121.14°)
OKLaboklab(87.55% -0.1142 0.1509)
OKLCHoklch(87.55% 0.189 127.1)
XYZxyz(50.3409, 70.3025, 18.8985)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4EC52 #8A52EC
analogous
#ECD752 #B4EC52 #67EC52
triadic
#B4EC52 #52B4EC #EC52B4
tetradic
#B4EC52 #52ECD7 #8A52EC #EC5267
square
#B4EC52 #52ECD7 #8A52EC #EC5267
split-complementary
#B4EC52 #5267EC #D752EC
monochromatic
#77B013 #9CE61B #B4EC52 #CCF289 #E4F8C0

Accessibility & contrast

On white

1.39
#B4EC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#B4EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4EC52
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4EC52#FFFFFF#000000##000000
##B4EC521.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F0D95E
Tritanopia (blue-blind)
#BAE2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #b4ec52;
/* rgb */ color: rgb(180, 236, 82);
/* oklch */ color: oklch(87.6% 0.189 127.1);
Tailwind
colors: {
  custom: {
    50: '#cef28a',
    500: '#b4ec52',
    950: '#000000',
  },
}
SCSS
$custom: #b4ec52;
$custom-light: #cef28a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ec52",
  "rgb": {
    "r": 180,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 81.818,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87554,
    "c": 0.18926,
    "h": 127.1
  },
  "luminance": 0.70303
}

Semantic roles & 50–950 ramp

primary
#B4EC52
secondary
#6032B1
accent
#09DD56
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #B4EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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