#B2D259#B2D259

#B2D259 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.6% C 0.152 H 122.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#B2D259
RGBrgb(178, 210, 89)
HSLhsl(76, 57%, 59%)
HSVhsv(76, 58%, 82%)
CMYKcmyk(15.2%, 0%, 57.6%, 17.6%)
CIE-LABlab(79.77, -28.35, 55.29)
CIE-LCHlch(79.77, 62.13, 117.15°)
OKLaboklab(81.59% -0.0811 0.1285)
OKLCHoklch(81.59% 0.152 122.2)
XYZxyz(43.2102, 56.2793, 18.0358)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D259 #7959D2
analogous
#D2B559 #B2D259 #75D259
triadic
#B2D259 #59B2D2 #D259B2
tetradic
#B2D259 #59D2B5 #7959D2 #D25975
square
#B2D259 #59D2B5 #7959D2 #D25975
split-complementary
#B2D259 #5975D2 #B559D2
monochromatic
#708B26 #97BB33 #B2D259 #C8DF89 #DFECB9

Accessibility & contrast

On white

1.71
#B2D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#B2D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D259
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D259#FFFFFF#000000##000000
##B2D2591.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#D9C661
Tritanopia (blue-blind)
#BAC8B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d259;
/* rgb */ color: rgb(178, 210, 89);
/* oklch */ color: oklch(81.6% 0.152 122.2);
Tailwind
colors: {
  custom: {
    50: '#cbdf8c',
    500: '#b2d259',
    950: '#000000',
  },
}
SCSS
$custom: #b2d259;
$custom-light: #cbdf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d259",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 75.868,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.15193,
    "h": 122.2
  },
  "luminance": 0.56279
}

Semantic roles & 50–950 ramp

primary
#B2D259
secondary
#543E91
accent
#47E170
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D259

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

Preview Lab → · Contrast checker → · Palette generator →

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