#B2D04C#B2D04C

#B2D04C is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.160 H 121.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#B2D04C
RGBrgb(178, 208, 76)
HSLhsl(74, 58%, 56%)
HSVhsv(74, 63%, 82%)
CMYKcmyk(14.4%, 0%, 63.5%, 18.4%)
CIE-LABlab(79.10, -28.40, 60.10)
CIE-LCHlch(79.10, 66.48, 115.29°)
OKLaboklab(81.01% -0.0824 0.1371)
OKLCHoklch(81.01% 0.16 121)
XYZxyz(42.2210, 55.0986, 15.2469)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D04C #6A4CD0
analogous
#D0AC4C #B2D04C #70D04C
triadic
#B2D04C #4CB2D0 #D04CB2
tetradic
#B2D04C #4CD0AC #6A4CD0 #D04C70
square
#B2D04C #4CD0AC #6A4CD0 #D04C70
split-complementary
#B2D04C #4C70D0 #AC4CD0
monochromatic
#6B8022 #93B02E #B2D04C #C7DD7C #DCE9AD

Accessibility & contrast

On white

1.75
#B2D04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#B2D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D04C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D04C#FFFFFF#000000##000000
##B2D04C1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43B
Deuteranopia (green-blind)
#D8C455
Tritanopia (blue-blind)
#BBC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d04c;
/* rgb */ color: rgb(178, 208, 76);
/* oklch */ color: oklch(81.0% 0.160 121.0);
Tailwind
colors: {
  custom: {
    50: '#ccde84',
    500: '#b2d04c',
    950: '#000000',
  },
}
SCSS
$custom: #b2d04c;
$custom-light: #ccde84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d04c",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 73.636,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81006,
    "c": 0.16001,
    "h": 121
  },
  "luminance": 0.55099
}

Semantic roles & 50–950 ramp

primary
#B2D04C
secondary
#4B3987
accent
#46E26A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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