#B2D04D#B2D04D

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

Color values

HEX#B2D04D
RGBrgb(178, 208, 77)
HSLhsl(74, 58%, 56%)
HSVhsv(74, 63%, 82%)
CMYKcmyk(14.4%, 0%, 63%, 18.4%)
CIE-LABlab(79.11, -28.33, 59.70)
CIE-LCHlch(79.11, 66.08, 115.39°)
OKLaboklab(81.02% -0.0821 0.1364)
OKLCHoklch(81.02% 0.159 121.1)
XYZxyz(42.2561, 55.1126, 15.4314)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D04D #6B4DD0
analogous
#D0AC4D #B2D04D #70D04D
triadic
#B2D04D #4DB2D0 #D04DB2
tetradic
#B2D04D #4DD0AC #6B4DD0 #D04D70
square
#B2D04D #4DD0AC #6B4DD0 #D04D70
split-complementary
#B2D04D #4D70D0 #AC4DD0
monochromatic
#6B8122 #93B12F #B2D04D #C7DD7D #DCEAAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D04D#FFFFFF#000000##000000
##B2D04D1.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)
#DCC43D
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#BBC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d04d;
/* rgb */ color: rgb(178, 208, 77);
/* oklch */ color: oklch(81.0% 0.159 121.1);
Tailwind
colors: {
  custom: {
    50: '#ccde85',
    500: '#b2d04d',
    950: '#000000',
  },
}
SCSS
$custom: #b2d04d;
$custom-light: #ccde85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d04d",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 73.74,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81015,
    "c": 0.15925,
    "h": 121.1
  },
  "luminance": 0.55113
}

Semantic roles & 50–950 ramp

primary
#B2D04D
secondary
#4B3988
accent
#46E16A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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