#B2DC40#B2DC40

#B2DC40 is a very light, vivid yellow-green. Relative luminance 0.610; OKLCH L 83.6% C 0.183 H 123.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#B2DC40
RGBrgb(178, 220, 64)
HSLhsl(76, 69%, 56%)
HSVhsv(76, 71%, 86%)
CMYKcmyk(19.1%, 0%, 70.9%, 13.7%)
CIE-LABlab(82.39, -34.75, 68.06)
CIE-LCHlch(82.39, 76.42, 117.04°)
OKLaboklab(83.64% -0.101 0.1522)
OKLCHoklch(83.64% 0.183 123.6)
XYZxyz(44.8792, 61.0212, 14.2634)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2DC40 #6A40DC
analogous
#DCB840 #B2DC40 #64DC40
triadic
#B2DC40 #40B2DC #DC40B2
tetradic
#B2DC40 #40DCB8 #6A40DC #DC4064
square
#B2DC40 #40DCB8 #6A40DC #DC4064
split-complementary
#B2DC40 #4064DC #B840DC
monochromatic
#6B8919 #93BC23 #B2DC40 #C7E574 #DCEFA7

Accessibility & contrast

On white

1.59
#B2DC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#B2DC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2DC40
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2DC40#FFFFFF#000000##000000
##B2DC401.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE24
Deuteranopia (green-blind)
#E3CD4D
Tritanopia (blue-blind)
#BBD1BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #b2dc40;
/* rgb */ color: rgb(178, 220, 64);
/* oklch */ color: oklch(83.6% 0.183 123.6);
Tailwind
colors: {
  custom: {
    50: '#cde77f',
    500: '#b2dc40',
    950: '#000000',
  },
}
SCSS
$custom: #b2dc40;
$custom-light: #cde77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2dc40",
  "rgb": {
    "r": 178,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 76.154,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.18265,
    "h": 123.6
  },
  "luminance": 0.61022
}

Semantic roles & 50–950 ramp

primary
#B2DC40
secondary
#4B328F
accent
#3CEC6B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #B2DC40

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

Preview Lab → · Contrast checker → · Palette generator →

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