#B2D342#B2D342

#B2D342 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.6% C 0.171 H 121.4°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#B2D342
RGBrgb(178, 211, 66)
HSLhsl(74, 62%, 54%)
HSVhsv(74, 69%, 83%)
CMYKcmyk(15.6%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.87, -30.46, 64.82)
CIE-LCHlch(79.87, 71.62, 115.17°)
OKLaboklab(81.6% -0.0891 0.1456)
OKLCHoklch(81.6% 0.171 121.4)
XYZxyz(42.6383, 56.4469, 13.8023)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D342 #6342D3
analogous
#D3AC42 #B2D342 #6AD342
triadic
#B2D342 #42B2D3 #D342B2
tetradic
#B2D342 #42D3AC #6342D3 #D3426A
square
#B2D342 #42D3AC #6342D3 #D3426A
split-complementary
#B2D342 #426AD3 #AC42D3
monochromatic
#687D1D #90AF29 #B2D342 #C6DF74 #DAEAA5

Accessibility & contrast

On white

1.71
#B2D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#B2D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D342
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D342#FFFFFF#000000##000000
##B2D3421.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#BBC8B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d342;
/* rgb */ color: rgb(178, 211, 66);
/* oklch */ color: oklch(81.6% 0.171 121.4);
Tailwind
colors: {
  custom: {
    50: '#cce07f',
    500: '#b2d342',
    950: '#000000',
  },
}
SCSS
$custom: #b2d342;
$custom-light: #cce07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d342",
  "rgb": {
    "r": 178,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 73.655,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81603,
    "c": 0.17072,
    "h": 121.4
  },
  "luminance": 0.56447
}

Semantic roles & 50–950 ramp

primary
#B2D342
secondary
#473485
accent
#42E568
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D342

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

Preview Lab → · Contrast checker → · Palette generator →

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