#B2D262#B2D262

#B2D262 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.7% C 0.144 H 122.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#B2D262
RGBrgb(178, 210, 98)
HSLhsl(77, 55%, 60%)
HSVhsv(77, 53%, 82%)
CMYKcmyk(15.2%, 0%, 53.3%, 17.6%)
CIE-LABlab(79.86, -27.56, 51.31)
CIE-LCHlch(79.86, 58.24, 118.24°)
OKLaboklab(81.69% -0.078 0.1208)
OKLCHoklch(81.69% 0.144 122.9)
XYZxyz(43.6115, 56.4399, 20.1493)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D262 #8262D2
analogous
#D2BA62 #B2D262 #7AD262
triadic
#B2D262 #62B2D2 #D262B2
tetradic
#B2D262 #62D2BA #8262D2 #D2627A
square
#B2D262 #62D2BA #8262D2 #D2627A
split-complementary
#B2D262 #627AD2 #BA62D2
monochromatic
#739029 #99C037 #B2D262 #C9E092 #E1EDC1

Accessibility & contrast

On white

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

On black

12.29
#B2D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D262
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D262#FFFFFF#000000##000000
##B2D2621.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC757
Deuteranopia (green-blind)
#D9C669
Tritanopia (blue-blind)
#B9C9B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d262;
/* rgb */ color: rgb(178, 210, 98);
/* oklch */ color: oklch(81.7% 0.144 122.9);
Tailwind
colors: {
  custom: {
    50: '#cbdf92',
    500: '#b2d262',
    950: '#000000',
  },
}
SCSS
$custom: #b2d262;
$custom-light: #cbdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d262",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 77.143,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.14384,
    "h": 122.9
  },
  "luminance": 0.5644
}

Semantic roles & 50–950 ramp

primary
#B2D262
secondary
#5A4296
accent
#23C350
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D262

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

Preview Lab → · Contrast checker → · Palette generator →

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