#B2D159#B2D159

#B2D159 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.4% C 0.151 H 122.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#B2D159
RGBrgb(178, 209, 89)
HSLhsl(76, 57%, 58%)
HSVhsv(76, 57%, 82%)
CMYKcmyk(14.8%, 0%, 57.4%, 18%)
CIE-LABlab(79.49, -27.88, 54.97)
CIE-LCHlch(79.49, 61.63, 116.89°)
OKLaboklab(81.36% -0.0797 0.1278)
OKLCHoklch(81.36% 0.151 122)
XYZxyz(42.9641, 55.7871, 17.9538)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D159 #7859D1
analogous
#D1B459 #B2D159 #76D159
triadic
#B2D159 #59B2D1 #D159B2
tetradic
#B2D159 #59D1B4 #7859D1 #D15976
square
#B2D159 #59D1B4 #7859D1 #D15976
split-complementary
#B2D159 #5976D1 #B459D1
monochromatic
#708926 #97B933 #B2D159 #C8DE89 #DEECB9

Accessibility & contrast

On white

1.73
#B2D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#B2D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D159
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D159#FFFFFF#000000##000000
##B2D1591.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64C
Deuteranopia (green-blind)
#D8C561
Tritanopia (blue-blind)
#BAC7B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d159;
/* rgb */ color: rgb(178, 209, 89);
/* oklch */ color: oklch(81.4% 0.151 122.0);
Tailwind
colors: {
  custom: {
    50: '#cbdf8c',
    500: '#b2d159',
    950: '#000000',
  },
}
SCSS
$custom: #b2d159;
$custom-light: #cbdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d159",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 75.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81361,
    "c": 0.15065,
    "h": 122
  },
  "luminance": 0.55787
}

Semantic roles & 50–950 ramp

primary
#B2D159
secondary
#533E90
accent
#48E06F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D159

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

Preview Lab → · Contrast checker → · Palette generator →

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