#B2D951#B2D951

#B2D951 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.1% C 0.167 H 123.7°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#B2D951
RGBrgb(178, 217, 81)
HSLhsl(77, 64%, 58%)
HSVhsv(77, 63%, 85%)
CMYKcmyk(18%, 0%, 62.7%, 14.9%)
CIE-LABlab(81.67, -32.27, 60.80)
CIE-LCHlch(81.67, 68.83, 117.95°)
OKLaboklab(83.09% -0.0927 0.1393)
OKLCHoklch(83.09% 0.167 123.7)
XYZxyz(44.6585, 59.6845, 16.9505)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D951 #7851D9
analogous
#D9BC51 #B2D951 #6ED951
triadic
#B2D951 #51B2D9 #D951B2
tetradic
#B2D951 #51D9BC #7851D9 #D9516E
square
#B2D951 #51D9BC #7851D9 #D9516E
split-complementary
#B2D951 #516ED9 #BC51D9
monochromatic
#70901F #97C22A #B2D951 #C8E483 #DEEFB5

Accessibility & contrast

On white

1.62
#B2D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#B2D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D951
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D951#FFFFFF#000000##000000
##B2D9511.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#BACFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d951;
/* rgb */ color: rgb(178, 217, 81);
/* oklch */ color: oklch(83.1% 0.167 123.7);
Tailwind
colors: {
  custom: {
    50: '#cce488',
    500: '#b2d951',
    950: '#000000',
  },
}
SCSS
$custom: #b2d951;
$custom-light: #cce488;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d951",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 77.206,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8309,
    "c": 0.16731,
    "h": 123.7
  },
  "luminance": 0.59685
}

Semantic roles & 50–950 ramp

primary
#B2D951
secondary
#533995
accent
#41E770
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D951

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

Preview Lab → · Contrast checker → · Palette generator →

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