#B2D962#B2D962

#B2D962 is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.3% C 0.153 H 124.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#B2D962
RGBrgb(178, 217, 98)
HSLhsl(80, 61%, 62%)
HSVhsv(80, 55%, 85%)
CMYKcmyk(18%, 0%, 54.8%, 14.9%)
CIE-LABlab(81.82, -30.87, 53.59)
CIE-LCHlch(81.82, 61.84, 119.94°)
OKLaboklab(83.27% -0.0873 0.1258)
OKLCHoklch(83.27% 0.153 124.8)
XYZxyz(45.3776, 59.9722, 20.7380)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D962 #8962D9
analogous
#D9C562 #B2D962 #77D962
triadic
#B2D962 #62B2D9 #D962B2
tetradic
#B2D962 #62D9C5 #8962D9 #D96277
square
#B2D962 #62D9C5 #8962D9 #D96277
split-complementary
#B2D962 #6277D9 #C562D9
monochromatic
#759B26 #9ACC31 #B2D962 #CAE593 #E2F1C5

Accessibility & contrast

On white

1.62
#B2D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#B2D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D962
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D962#FFFFFF#000000##000000
##B2D9621.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#B9D0BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d962;
/* rgb */ color: rgb(178, 217, 98);
/* oklch */ color: oklch(83.3% 0.153 124.8);
Tailwind
colors: {
  custom: {
    50: '#cbe492',
    500: '#b2d962',
    950: '#000000',
  },
}
SCSS
$custom: #b2d962;
$custom-light: #cbe492;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d962",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 79.664,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83266,
    "c": 0.15309,
    "h": 124.8
  },
  "luminance": 0.59973
}

Semantic roles & 50–950 ramp

primary
#B2D962
secondary
#5F409F
accent
#1DC955
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D962

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

Preview Lab → · Contrast checker → · Palette generator →

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