#B2EC6C#B2EC6C

#B2EC6C is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.7% C 0.169 H 129.6°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#B2EC6C
RGBrgb(178, 236, 108)
HSLhsl(87, 77%, 67%)
HSVhsv(87, 54%, 93%)
CMYKcmyk(24.6%, 0%, 54.2%, 7.5%)
CIE-LABlab(87.26, -38.62, 55.39)
CIE-LCHlch(87.26, 67.52, 124.89°)
OKLaboklab(87.69% -0.108 0.1306)
OKLCHoklch(87.69% 0.169 129.6)
XYZxyz(51.0619, 70.5375, 25.1093)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2EC6C #A66CEC
analogous
#ECE66C #B2EC6C #72EC6C
triadic
#B2EC6C #6CB2EC #EC6CB2
tetradic
#B2EC6C #6CECE6 #A66CEC #EC6C72
square
#B2EC6C #6CECE6 #A66CEC #EC6C72
split-complementary
#B2EC6C #6C72EC #E66CEC
monochromatic
#77C419 #96E536 #B2EC6C #CEF3A2 #EBFAD8

Accessibility & contrast

On white

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

On black

15.11
#B2EC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2EC6C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2EC6C#FFFFFF#000000##000000
##B2EC6C1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5F
Deuteranopia (green-blind)
#EED974
Tritanopia (blue-blind)
#B6E3D0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #b2ec6c;
/* rgb */ color: rgb(178, 236, 108);
/* oklch */ color: oklch(87.7% 0.169 129.6);
Tailwind
colors: {
  custom: {
    50: '#ccf299',
    500: '#b2ec6c',
    950: '#000000',
  },
}
SCSS
$custom: #b2ec6c;
$custom-light: #ccf299;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ec6c",
  "rgb": {
    "r": 178,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 87.188,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87691,
    "c": 0.16945,
    "h": 129.6
  },
  "luminance": 0.70539
}

Semantic roles & 50–950 ramp

primary
#B2EC6C
secondary
#783AC2
accent
#0CD969
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #B2EC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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