#B2D252#B2D252

#B2D252 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.158 H 121.9°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#B2D252
RGBrgb(178, 210, 82)
HSLhsl(75, 59%, 57%)
HSVhsv(75, 61%, 82%)
CMYKcmyk(15.2%, 0%, 61%, 17.6%)
CIE-LABlab(79.71, -28.91, 58.26)
CIE-LCHlch(79.71, 65.04, 116.39°)
OKLaboklab(81.51% -0.0833 0.134)
OKLCHoklch(81.51% 0.158 121.9)
XYZxyz(42.9301, 56.1673, 16.5607)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D252 #7252D2
analogous
#D2B252 #B2D252 #72D252
triadic
#B2D252 #52B2D2 #D252B2
tetradic
#B2D252 #52D2B2 #7252D2 #D25272
square
#B2D252 #52D2B2 #7252D2 #D25272
split-complementary
#B2D252 #5272D2 #B252D2
monochromatic
#6E8723 #95B730 #B2D252 #C8DF83 #DDEBB3

Accessibility & contrast

On white

1.72
#B2D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#B2D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D252
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D252#FFFFFF#000000##000000
##B2D2521.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#BBC8B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d252;
/* rgb */ color: rgb(178, 210, 82);
/* oklch */ color: oklch(81.5% 0.158 121.9);
Tailwind
colors: {
  custom: {
    50: '#ccdf88',
    500: '#b2d252',
    950: '#000000',
  },
}
SCSS
$custom: #b2d252;
$custom-light: #ccdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d252",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 75,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81514,
    "c": 0.15778,
    "h": 121.9
  },
  "luminance": 0.56167
}

Semantic roles & 50–950 ramp

primary
#B2D252
secondary
#503B8D
accent
#46E26D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D252

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

Preview Lab → · Contrast checker → · Palette generator →

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