#B2D04E#B2D04E

#B2D04E 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#B2D04E
RGBrgb(178, 208, 78)
HSLhsl(74, 58%, 56%)
HSVhsv(74, 63%, 82%)
CMYKcmyk(14.4%, 0%, 62.5%, 18.4%)
CIE-LABlab(79.11, -28.26, 59.30)
CIE-LCHlch(79.11, 65.68, 115.48°)
OKLaboklab(81.03% -0.0819 0.1357)
OKLCHoklch(81.03% 0.158 121.1)
XYZxyz(42.2916, 55.1268, 15.6188)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D04E #6C4ED0
analogous
#D0AD4E #B2D04E #71D04E
triadic
#B2D04E #4EB2D0 #D04EB2
tetradic
#B2D04E #4ED0AD #6C4ED0 #D04E71
square
#B2D04E #4ED0AD #6C4ED0 #D04E71
split-complementary
#B2D04E #4E71D0 #AD4ED0
monochromatic
#6B8122 #94B22F #B2D04E #C7DD7E #DCEAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D04E#FFFFFF#000000##000000
##B2D04E1.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)
#DCC43E
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#BBC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d04e;
/* rgb */ color: rgb(178, 208, 78);
/* oklch */ color: oklch(81.0% 0.158 121.1);
Tailwind
colors: {
  custom: {
    50: '#ccde85',
    500: '#b2d04e',
    950: '#000000',
  },
}
SCSS
$custom: #b2d04e;
$custom-light: #ccde85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d04e",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 73.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81025,
    "c": 0.15847,
    "h": 121.1
  },
  "luminance": 0.55127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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