#B2D031#B2D031

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

Color values

HEX#B2D031
RGBrgb(178, 208, 49)
HSLhsl(71, 63%, 50%)
HSVhsv(71, 76%, 82%)
CMYKcmyk(14.4%, 0%, 76.4%, 18.4%)
CIE-LABlab(78.93, -29.93, 69.68)
CIE-LCHlch(78.93, 75.84, 113.24°)
OKLaboklab(80.81% -0.089 0.1532)
OKLCHoklch(80.81% 0.177 120.2)
XYZxyz(41.4712, 54.7986, 11.2976)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D031 #4F31D0
analogous
#D09F31 #B2D031 #62D031
triadic
#B2D031 #31B2D0 #D031B2
tetradic
#B2D031 #31D09F #4F31D0 #D03162
square
#B2D031 #31D09F #4F31D0 #D03162
split-complementary
#B2D031 #3162D0 #9F31D0
monochromatic
#5E6E19 #889F24 #B2D031 #C5DB63 #D7E795

Accessibility & contrast

On white

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

On black

11.96
#B2D031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D031
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D031#FFFFFF#000000##000000
##B2D0311.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC401
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#BCC5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2d031;
/* rgb */ color: rgb(178, 208, 49);
/* oklch */ color: oklch(80.8% 0.177 120.2);
Tailwind
colors: {
  custom: {
    50: '#cdde76',
    500: '#b2d031',
    950: '#000000',
  },
}
SCSS
$custom: #b2d031;
$custom-light: #cdde76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d031",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 49
  },
  "hsl": {
    "h": 71.321,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80812,
    "c": 0.17714,
    "h": 120.2
  },
  "luminance": 0.54798
}

Semantic roles & 50–950 ramp

primary
#B2D031
secondary
#3C2E77
accent
#42E661
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B2D031

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

Preview Lab → · Contrast checker → · Palette generator →

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