#B2D245#B2D245

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

Color values

HEX#B2D245
RGBrgb(178, 210, 69)
HSLhsl(74, 61%, 55%)
HSVhsv(74, 67%, 82%)
CMYKcmyk(15.2%, 0%, 67.1%, 17.6%)
CIE-LABlab(79.61, -29.81, 63.42)
CIE-LCHlch(79.61, 70.08, 115.18°)
OKLaboklab(81.4% -0.087 0.1431)
OKLCHoklch(81.4% 0.168 121.3)
XYZxyz(42.4815, 55.9879, 14.1978)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D245 #6545D2
analogous
#D2AC45 #B2D245 #6CD245
triadic
#B2D245 #45B2D2 #D245B2
tetradic
#B2D245 #45D2AC #6545D2 #D2456C
square
#B2D245 #45D2AC #6545D2 #D2456C
split-complementary
#B2D245 #456CD2 #AC45D2
monochromatic
#687E1F #91AF2A #B2D245 #C6DE76 #DBEAA8

Accessibility & contrast

On white

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

On black

12.20
#B2D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D245
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D245#FFFFFF#000000##000000
##B2D2451.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d245;
/* rgb */ color: rgb(178, 210, 69);
/* oklch */ color: oklch(81.4% 0.168 121.3);
Tailwind
colors: {
  custom: {
    50: '#ccdf80',
    500: '#b2d245',
    950: '#000000',
  },
}
SCSS
$custom: #b2d245;
$custom-light: #ccdf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d245",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 73.617,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81399,
    "c": 0.16751,
    "h": 121.3
  },
  "luminance": 0.55988
}

Semantic roles & 50–950 ramp

primary
#B2D245
secondary
#483686
accent
#44E468
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D245

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

Preview Lab → · Contrast checker → · Palette generator →

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