#B2D255#B2D255

#B2D255 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.155 H 122.0°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#B2D255
RGBrgb(178, 210, 85)
HSLhsl(75, 58%, 58%)
HSVhsv(75, 60%, 82%)
CMYKcmyk(15.2%, 0%, 59.5%, 17.6%)
CIE-LABlab(79.74, -28.68, 57.00)
CIE-LCHlch(79.74, 63.81, 116.71°)
OKLaboklab(81.54% -0.0824 0.1317)
OKLCHoklch(81.54% 0.155 122)
XYZxyz(43.0468, 56.2140, 17.1752)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D255 #7555D2
analogous
#D2B455 #B2D255 #73D255
triadic
#B2D255 #55B2D2 #D255B2
tetradic
#B2D255 #55D2B4 #7555D2 #D25573
square
#B2D255 #55D2B4 #7555D2 #D25573
split-complementary
#B2D255 #5573D2 #B455D2
monochromatic
#6F8824 #96B931 #B2D255 #C8DF85 #DEECB6

Accessibility & contrast

On white

1.72
#B2D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#B2D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D255
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D255#FFFFFF#000000##000000
##B2D2551.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC647
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#BAC8B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d255;
/* rgb */ color: rgb(178, 210, 85);
/* oklch */ color: oklch(81.5% 0.155 122.0);
Tailwind
colors: {
  custom: {
    50: '#ccdf8a',
    500: '#b2d255',
    950: '#000000',
  },
}
SCSS
$custom: #b2d255;
$custom-light: #ccdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d255",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 75.36,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81544,
    "c": 0.15532,
    "h": 122
  },
  "luminance": 0.56214
}

Semantic roles & 50–950 ramp

primary
#B2D255
secondary
#513C8F
accent
#46E16E
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D255

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

Preview Lab → · Contrast checker → · Palette generator →

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