#B2D02C#B2D02C

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

Color values

HEX#B2D02C
RGBrgb(178, 208, 44)
HSLhsl(71, 65%, 49%)
HSVhsv(71, 79%, 82%)
CMYKcmyk(14.4%, 0%, 78.8%, 18.4%)
CIE-LABlab(78.90, -30.13, 71.12)
CIE-LCHlch(78.90, 77.24, 112.96°)
OKLaboklab(80.79% -0.0899 0.1554)
OKLCHoklch(80.79% 0.18 120.1)
XYZxyz(41.3714, 54.7587, 10.7724)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D02C #4A2CD0
analogous
#D09C2C #B2D02C #60D02C
triadic
#B2D02C #2CB2D0 #D02CB2
tetradic
#B2D02C #2CD09C #4A2CD0 #D02C60
square
#B2D02C #2CD09C #4A2CD0 #D02C60
split-complementary
#B2D02C #2C60D0 #9C2CD0
monochromatic
#5C6B17 #879D21 #B2D02C #C5DD5D #D7E78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D02C#FFFFFF#000000##000000
##B2D02C1.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)
#DDC400
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#BDC5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2d02c;
/* rgb */ color: rgb(178, 208, 44);
/* oklch */ color: oklch(80.8% 0.180 120.1);
Tailwind
colors: {
  custom: {
    50: '#cdde74',
    500: '#b2d02c',
    950: '#000000',
  },
}
SCSS
$custom: #b2d02c;
$custom-light: #cdde74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d02c",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 44
  },
  "hsl": {
    "h": 70.976,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.80786,
    "c": 0.17953,
    "h": 120.1
  },
  "luminance": 0.54759
}

Semantic roles & 50–950 ramp

primary
#B2D02C
secondary
#392C75
accent
#40E85F
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B2D02C

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

Preview Lab → · Contrast checker → · Palette generator →

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