#B2D542#B2D542

#B2D542 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.1% C 0.173 H 122.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#B2D542
RGBrgb(178, 213, 66)
HSLhsl(74, 64%, 55%)
HSVhsv(74, 69%, 84%)
CMYKcmyk(16.4%, 0%, 69%, 16.5%)
CIE-LABlab(80.43, -31.40, 65.39)
CIE-LCHlch(80.43, 72.54, 115.65°)
OKLaboklab(82.06% -0.0917 0.1468)
OKLCHoklch(82.06% 0.173 122)
XYZxyz(43.1383, 57.4468, 13.9689)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D542 #6542D5
analogous
#D5AF42 #B2D542 #68D542
triadic
#B2D542 #42B2D5 #D542B2
tetradic
#B2D542 #42D5AF #6542D5 #D54268
square
#B2D542 #42D5AF #6542D5 #D54268
split-complementary
#B2D542 #4268D5 #AF42D5
monochromatic
#68801C #91B228 #B2D542 #C6E074 #DBEBA6

Accessibility & contrast

On white

1.68
#B2D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#B2D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D542
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D542#FFFFFF#000000##000000
##B2D5421.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C82A
Deuteranopia (green-blind)
#DDC84E
Tritanopia (blue-blind)
#BBCAB8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b2d542;
/* rgb */ color: rgb(178, 213, 66);
/* oklch */ color: oklch(82.1% 0.173 122.0);
Tailwind
colors: {
  custom: {
    50: '#cce27f',
    500: '#b2d542',
    950: '#000000',
  },
}
SCSS
$custom: #b2d542;
$custom-light: #cce27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d542",
  "rgb": {
    "r": 178,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 74.286,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82057,
    "c": 0.17309,
    "h": 122
  },
  "luminance": 0.57447
}

Semantic roles & 50–950 ramp

primary
#B2D542
secondary
#483487
accent
#41E769
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D542

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

Preview Lab → · Contrast checker → · Palette generator →

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