#B2D260#B2D260

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

Color values

HEX#B2D260
RGBrgb(178, 210, 96)
HSLhsl(77, 56%, 60%)
HSVhsv(77, 54%, 82%)
CMYKcmyk(15.2%, 0%, 54.3%, 17.6%)
CIE-LABlab(79.84, -27.74, 52.21)
CIE-LCHlch(79.84, 59.12, 117.98°)
OKLaboklab(81.66% -0.0787 0.1226)
OKLCHoklch(81.66% 0.146 122.7)
XYZxyz(43.5183, 56.4026, 19.6582)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D260 #8060D2
analogous
#D2B960 #B2D260 #79D260
triadic
#B2D260 #60B2D2 #D260B2
tetradic
#B2D260 #60D2B9 #8060D2 #D26079
square
#B2D260 #60D2B9 #8060D2 #D26079
split-complementary
#B2D260 #6079D2 #B960D2
monochromatic
#728F29 #98BF36 #B2D260 #C9DF90 #E0EDBF

Accessibility & contrast

On white

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

On black

12.28
#B2D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D260
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D260#FFFFFF#000000##000000
##B2D2601.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC755
Deuteranopia (green-blind)
#D9C667
Tritanopia (blue-blind)
#BAC9B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d260;
/* rgb */ color: rgb(178, 210, 96);
/* oklch */ color: oklch(81.7% 0.146 122.7);
Tailwind
colors: {
  custom: {
    50: '#cbdf90',
    500: '#b2d260',
    950: '#000000',
  },
}
SCSS
$custom: #b2d260;
$custom-light: #cbdf90;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d260",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 76.842,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.81665,
    "c": 0.14569,
    "h": 122.7
  },
  "luminance": 0.56403
}

Semantic roles & 50–950 ramp

primary
#B2D260
secondary
#594195
accent
#49DF73
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D260

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

Preview Lab → · Contrast checker → · Palette generator →

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