#B2D257#B2D257

#B2D257 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#B2D257
RGBrgb(178, 210, 87)
HSLhsl(76, 58%, 58%)
HSVhsv(76, 59%, 82%)
CMYKcmyk(15.2%, 0%, 58.6%, 17.6%)
CIE-LABlab(79.75, -28.52, 56.15)
CIE-LCHlch(79.75, 62.97, 116.93°)
OKLaboklab(81.57% -0.0817 0.1301)
OKLCHoklch(81.57% 0.154 122.1)
XYZxyz(43.1274, 56.2462, 17.5995)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D257 #7757D2
analogous
#D2B457 #B2D257 #74D257
triadic
#B2D257 #57B2D2 #D257B2
tetradic
#B2D257 #57D2B4 #7757D2 #D25774
square
#B2D257 #57D2B4 #7757D2 #D25774
split-complementary
#B2D257 #5774D2 #B457D2
monochromatic
#6F8A25 #97BA32 #B2D257 #C8DF87 #DEECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D257#FFFFFF#000000##000000
##B2D2571.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)
#DDC649
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#BAC8B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d257;
/* rgb */ color: rgb(178, 210, 87);
/* oklch */ color: oklch(81.6% 0.154 122.1);
Tailwind
colors: {
  custom: {
    50: '#cbdf8b',
    500: '#b2d257',
    950: '#000000',
  },
}
SCSS
$custom: #b2d257;
$custom-light: #cbdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d257",
  "rgb": {
    "r": 178,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 75.61,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81565,
    "c": 0.15364,
    "h": 122.1
  },
  "luminance": 0.56246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2D257

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

Preview Lab → · Contrast checker → · Palette generator →

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