#B2D42D#B2D42D

#B2D42D is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.7% C 0.184 H 121.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#B2D42D
RGBrgb(178, 212, 45)
HSLhsl(72, 66%, 50%)
HSVhsv(72, 79%, 83%)
CMYKcmyk(16%, 0%, 78.8%, 16.9%)
CIE-LABlab(80.03, -31.96, 71.86)
CIE-LCHlch(80.03, 78.65, 113.98°)
OKLaboklab(81.7% -0.0949 0.1571)
OKLCHoklch(81.7% 0.184 121.1)
XYZxyz(42.3780, 56.7414, 11.2018)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D42D #4F2DD4
analogous
#D4A32D #B2D42D #5ED42D
triadic
#B2D42D #2DB2D4 #D42DB2
tetradic
#B2D42D #2DD4A3 #4F2DD4 #D42D5E
square
#B2D42D #2DD4A3 #4F2DD4 #D42D5E
split-complementary
#B2D42D #2D5ED4 #A32DD4
monochromatic
#5E7017 #88A321 #B2D42D #C5DE60 #D7E993

Accessibility & contrast

On white

1.70
#B2D42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#B2D42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D42D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D42D#FFFFFF#000000##000000
##B2D42D1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#DDC73E
Tritanopia (blue-blind)
#BCC9B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d42d;
/* rgb */ color: rgb(178, 212, 45);
/* oklch */ color: oklch(81.7% 0.184 121.1);
Tailwind
colors: {
  custom: {
    50: '#cde175',
    500: '#b2d42d',
    950: '#000000',
  },
}
SCSS
$custom: #b2d42d;
$custom-light: #cde175;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d42d",
  "rgb": {
    "r": 178,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 72.216,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.817,
    "c": 0.18353,
    "h": 121.1
  },
  "luminance": 0.56741
}

Semantic roles & 50–950 ramp

primary
#B2D42D
secondary
#3C2C79
accent
#3FE961
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B2D42D

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

Preview Lab → · Contrast checker → · Palette generator →

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