#B2D762#B2D762

#B2D762 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.8% C 0.150 H 124.2°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#B2D762
RGBrgb(178, 215, 98)
HSLhsl(79, 59%, 61%)
HSVhsv(79, 54%, 84%)
CMYKcmyk(17.2%, 0%, 54.4%, 15.7%)
CIE-LABlab(81.26, -29.93, 52.94)
CIE-LCHlch(81.26, 60.81, 119.48°)
OKLaboklab(82.82% -0.0847 0.1244)
OKLCHoklch(82.82% 0.15 124.2)
XYZxyz(44.8653, 58.9474, 20.5672)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D762 #8762D7
analogous
#D7C262 #B2D762 #78D762
triadic
#B2D762 #62B2D7 #D762B2
tetradic
#B2D762 #62D7C2 #8762D7 #D76278
square
#B2D762 #62D7C2 #8762D7 #D76278
split-complementary
#B2D762 #6278D7 #C262D7
monochromatic
#749827 #99C933 #B2D762 #CAE393 #E2F0C4

Accessibility & contrast

On white

1.64
#B2D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#B2D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D762
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D762#FFFFFF#000000##000000
##B2D7621.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB56
Deuteranopia (green-blind)
#DDCA69
Tritanopia (blue-blind)
#B9CEBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b2d762;
/* rgb */ color: rgb(178, 215, 98);
/* oklch */ color: oklch(82.8% 0.150 124.2);
Tailwind
colors: {
  custom: {
    50: '#cbe392',
    500: '#b2d762',
    950: '#000000',
  },
}
SCSS
$custom: #b2d762;
$custom-light: #cbe392;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d762",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 78.974,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82815,
    "c": 0.15044,
    "h": 124.2
  },
  "luminance": 0.58948
}

Semantic roles & 50–950 ramp

primary
#B2D762
secondary
#5E419D
accent
#1EC754
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D762

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

Preview Lab → · Contrast checker → · Palette generator →

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