#B2D02A#B2D02A

#B2D02A is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.180 H 120.0°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#B2D02A
RGBrgb(178, 208, 42)
HSLhsl(71, 66%, 49%)
HSVhsv(71, 80%, 82%)
CMYKcmyk(14.4%, 0%, 79.8%, 18.4%)
CIE-LABlab(78.89, -30.21, 71.67)
CIE-LCHlch(78.89, 77.77, 112.86°)
OKLaboklab(80.78% -0.0903 0.1562)
OKLCHoklch(80.78% 0.18 120)
XYZxyz(41.3347, 54.7441, 10.5791)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D02A #482AD0
analogous
#D09B2A #B2D02A #5FD02A
triadic
#B2D02A #2AB2D0 #D02AB2
tetradic
#B2D02A #2AD09B #482AD0 #D02A5F
square
#B2D02A #2AD09B #482AD0 #D02A5F
split-complementary
#B2D02A #2A5FD0 #9B2AD0
monochromatic
#5B6A15 #869D20 #B2D02A #C6DE5A #D7E88D

Accessibility & contrast

On white

1.76
#B2D02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#B2D02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D02A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D02A#FFFFFF#000000##000000
##B2D02A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#DAC43B
Tritanopia (blue-blind)
#BDC5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2d02a;
/* rgb */ color: rgb(178, 208, 42);
/* oklch */ color: oklch(80.8% 0.180 120.0);
Tailwind
colors: {
  custom: {
    50: '#cdde73',
    500: '#b2d02a',
    950: '#000000',
  },
}
SCSS
$custom: #b2d02a;
$custom-light: #cdde73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d02a",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 42
  },
  "hsl": {
    "h": 70.843,
    "s": 66.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.80776,
    "c": 0.18042,
    "h": 120
  },
  "luminance": 0.54744
}

Semantic roles & 50–950 ramp

primary
#B2D02A
secondary
#382A74
accent
#3EE95D
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B2D02A

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

Preview Lab → · Contrast checker → · Palette generator →

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