#B2D04F#B2D04F

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

Color values

HEX#B2D04F
RGBrgb(178, 208, 79)
HSLhsl(74, 58%, 56%)
HSVhsv(74, 62%, 82%)
CMYKcmyk(14.4%, 0%, 62%, 18.4%)
CIE-LABlab(79.12, -28.18, 58.89)
CIE-LCHlch(79.12, 65.28, 115.58°)
OKLaboklab(81.03% -0.0815 0.135)
OKLCHoklch(81.03% 0.158 121.1)
XYZxyz(42.3278, 55.1413, 15.8091)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D04F #6D4FD0
analogous
#D0AE4F #B2D04F #72D04F
triadic
#B2D04F #4FB2D0 #D04FB2
tetradic
#B2D04F #4FD0AE #6D4FD0 #D04F72
square
#B2D04F #4FD0AE #6D4FD0 #D04F72
split-complementary
#B2D04F #4F72D0 #AE4FD0
monochromatic
#6C8223 #94B230 #B2D04F #C7DD7F #DCEAB0

Accessibility & contrast

On white

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

On black

12.03
#B2D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D04F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D04F#FFFFFF#000000##000000
##B2D04F1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d04f;
/* rgb */ color: rgb(178, 208, 79);
/* oklch */ color: oklch(81.0% 0.158 121.1);
Tailwind
colors: {
  custom: {
    50: '#ccde86',
    500: '#b2d04f',
    950: '#000000',
  },
}
SCSS
$custom: #b2d04f;
$custom-light: #ccde86;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d04f",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 73.953,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81034,
    "c": 0.15769,
    "h": 121.1
  },
  "luminance": 0.55141
}

Semantic roles & 50–950 ramp

primary
#B2D04F
secondary
#4C3A89
accent
#47E16B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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