#B2D152#B2D152

#B2D152 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.3% C 0.157 H 121.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#B2D152
RGBrgb(178, 209, 82)
HSLhsl(75, 58%, 57%)
HSVhsv(75, 61%, 82%)
CMYKcmyk(14.8%, 0%, 60.8%, 18%)
CIE-LABlab(79.43, -28.44, 57.95)
CIE-LCHlch(79.43, 64.55, 116.14°)
OKLaboklab(81.29% -0.082 0.1334)
OKLCHoklch(81.29% 0.157 121.6)
XYZxyz(42.6840, 55.6751, 16.4787)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D152 #7152D1
analogous
#D1B152 #B2D152 #72D152
triadic
#B2D152 #52B2D1 #D152B2
tetradic
#B2D152 #52D1B1 #7152D1 #D15272
square
#B2D152 #52D1B1 #7152D1 #D15272
split-complementary
#B2D152 #5272D1 #B152D1
monochromatic
#6D8523 #95B630 #B2D152 #C8DE82 #DDEBB3

Accessibility & contrast

On white

1.73
#B2D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#B2D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D152
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D152#FFFFFF#000000##000000
##B2D1521.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#BBC7B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d152;
/* rgb */ color: rgb(178, 209, 82);
/* oklch */ color: oklch(81.3% 0.157 121.6);
Tailwind
colors: {
  custom: {
    50: '#ccdf88',
    500: '#b2d152',
    950: '#000000',
  },
}
SCSS
$custom: #b2d152;
$custom-light: #ccdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d152",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 74.646,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81289,
    "c": 0.15653,
    "h": 121.6
  },
  "luminance": 0.55675
}

Semantic roles & 50–950 ramp

primary
#B2D152
secondary
#4F3B8C
accent
#47E16C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D152

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

Preview Lab → · Contrast checker → · Palette generator →

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