#B2D862#B2D862

#B2D862 is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.0% C 0.152 H 124.5°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#B2D862
RGBrgb(178, 216, 98)
HSLhsl(79, 60%, 62%)
HSVhsv(79, 55%, 85%)
CMYKcmyk(17.6%, 0%, 54.6%, 15.3%)
CIE-LABlab(81.54, -30.40, 53.26)
CIE-LCHlch(81.54, 61.33, 119.71°)
OKLaboklab(83.04% -0.086 0.1251)
OKLCHoklch(83.04% 0.152 124.5)
XYZxyz(45.1207, 59.4582, 20.6524)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D862 #8862D8
analogous
#D8C362 #B2D862 #77D862
triadic
#B2D862 #62B2D8 #D862B2
tetradic
#B2D862 #62D8C3 #8862D8 #D86277
square
#B2D862 #62D8C3 #8862D8 #D86277
split-complementary
#B2D862 #6277D8 #C362D8
monochromatic
#749926 #99CA32 #B2D862 #CAE493 #E2F0C4

Accessibility & contrast

On white

1.63
#B2D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#B2D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D862
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D862#FFFFFF#000000##000000
##B2D8621.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#DDCA69
Tritanopia (blue-blind)
#B9CFBE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d862;
/* rgb */ color: rgb(178, 216, 98);
/* oklch */ color: oklch(83.0% 0.152 124.5);
Tailwind
colors: {
  custom: {
    50: '#cbe492',
    500: '#b2d862',
    950: '#000000',
  },
}
SCSS
$custom: #b2d862;
$custom-light: #cbe492;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d862",
  "rgb": {
    "r": 178,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 79.322,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83041,
    "c": 0.15177,
    "h": 124.5
  },
  "luminance": 0.59459
}

Semantic roles & 50–950 ramp

primary
#B2D862
secondary
#5E409E
accent
#1EC854
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D862

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

Preview Lab → · Contrast checker → · Palette generator →

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