#B2EC5C#B2EC5C

#B2EC5C is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 87.5% C 0.183 H 128.3°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#B2EC5C
RGBrgb(178, 236, 92)
HSLhsl(84, 79%, 64%)
HSVhsv(84, 61%, 93%)
CMYKcmyk(24.6%, 0%, 61%, 7.5%)
CIE-LABlab(87.11, -40.03, 62.17)
CIE-LCHlch(87.11, 73.94, 122.78°)
OKLaboklab(87.52% -0.1132 0.1435)
OKLCHoklch(87.52% 0.183 128.3)
XYZxyz(50.2872, 70.2276, 21.0290)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2EC5C #965CEC
analogous
#ECDE5C #B2EC5C #6AEC5C
triadic
#B2EC5C #5CB2EC #EC5CB2
tetradic
#B2EC5C #5CECDE #965CEC #EC5C6A
square
#B2EC5C #5CECDE #965CEC #EC5C6A
split-complementary
#B2EC5C #5C6AEC #DE5CEC
monochromatic
#77B815 #98E625 #B2EC5C #CCF293 #E6F9CA

Accessibility & contrast

On white

1.40
#B2EC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#B2EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2EC5C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2EC5C#FFFFFF#000000##000000
##B2EC5C1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4B
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#B7E2CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #b2ec5c;
/* rgb */ color: rgb(178, 236, 92);
/* oklch */ color: oklch(87.5% 0.183 128.3);
Tailwind
colors: {
  custom: {
    50: '#ccf290',
    500: '#b2ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #b2ec5c;
$custom-light: #ccf290;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ec5c",
  "rgb": {
    "r": 178,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 84.167,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8752,
    "c": 0.18278,
    "h": 128.3
  },
  "luminance": 0.70229
}

Semantic roles & 50–950 ramp

primary
#B2EC5C
secondary
#6935B8
accent
#0ADB5E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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