#B2D256#B2D256

#B2D256 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.6% C 0.154 H 122.1°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#B2D256
RGBrgb(178, 210, 86)
HSLhsl(75, 58%, 58%)
HSVhsv(75, 59%, 82%)
CMYKcmyk(15.2%, 0%, 59%, 17.6%)
CIE-LABlab(79.74, -28.60, 56.57)
CIE-LCHlch(79.74, 63.39, 116.82°)
OKLaboklab(81.55% -0.082 0.1309)
OKLCHoklch(81.55% 0.154 122.1)
XYZxyz(43.0868, 56.2300, 17.3859)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D256 #7656D2
analogous
#D2B456 #B2D256 #74D256
triadic
#B2D256 #56B2D2 #D256B2
tetradic
#B2D256 #56D2B4 #7656D2 #D25674
square
#B2D256 #56D2B4 #7656D2 #D25674
split-complementary
#B2D256 #5674D2 #B456D2
monochromatic
#6F8925 #96B931 #B2D256 #C8DF86 #DEECB7

Accessibility & contrast

On white

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

On black

12.25
#B2D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D256
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D256#FFFFFF#000000##000000
##B2D2561.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d256;
/* rgb */ color: rgb(178, 210, 86);
/* oklch */ color: oklch(81.6% 0.154 122.1);
Tailwind
colors: {
  custom: {
    50: '#ccdf8a',
    500: '#b2d256',
    950: '#000000',
  },
}
SCSS
$custom: #b2d256;
$custom-light: #ccdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d256",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 75.484,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81554,
    "c": 0.15449,
    "h": 122.1
  },
  "luminance": 0.5623
}

Semantic roles & 50–950 ramp

primary
#B2D256
secondary
#523D90
accent
#47E16F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D256

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

Preview Lab → · Contrast checker → · Palette generator →

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