#B2D242#B2D242

#B2D242 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.4% C 0.170 H 121.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#B2D242
RGBrgb(178, 210, 66)
HSLhsl(73, 62%, 54%)
HSVhsv(73, 69%, 82%)
CMYKcmyk(15.2%, 0%, 68.6%, 17.6%)
CIE-LABlab(79.59, -29.99, 64.54)
CIE-LCHlch(79.59, 71.17, 114.93°)
OKLaboklab(81.38% -0.0878 0.145)
OKLCHoklch(81.38% 0.17 121.2)
XYZxyz(42.3907, 55.9515, 13.7197)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D242 #6242D2
analogous
#D2AA42 #B2D242 #6AD242
triadic
#B2D242 #42B2D2 #D242B2
tetradic
#B2D242 #42D2AA #6242D2 #D2426A
square
#B2D242 #42D2AA #6242D2 #D2426A
split-complementary
#B2D242 #426AD2 #AA42D2
monochromatic
#677C1E #90AD29 #B2D242 #C6DE73 #DAEAA5

Accessibility & contrast

On white

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

On black

12.19
#B2D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D242
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D242#FFFFFF#000000##000000
##B2D2421.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62B
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#BBC7B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d242;
/* rgb */ color: rgb(178, 210, 66);
/* oklch */ color: oklch(81.4% 0.170 121.2);
Tailwind
colors: {
  custom: {
    50: '#ccdf7f',
    500: '#b2d242',
    950: '#000000',
  },
}
SCSS
$custom: #b2d242;
$custom-light: #ccdf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d242",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 73.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81376,
    "c": 0.16953,
    "h": 121.2
  },
  "luminance": 0.55952
}

Semantic roles & 50–950 ramp

primary
#B2D242
secondary
#463484
accent
#43E567
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D242

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

Preview Lab → · Contrast checker → · Palette generator →

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