#B2D971#B2D971

#B2D971 is a very light, vivid yellow-green. Relative luminance 0.603; OKLCH L 83.5% C 0.139 H 126.2°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#B2D971
RGBrgb(178, 217, 113)
HSLhsl(83, 58%, 65%)
HSVhsv(83, 48%, 85%)
CMYKcmyk(18%, 0%, 47.9%, 14.9%)
CIE-LABlab(81.99, -29.38, 46.77)
CIE-LCHlch(81.99, 55.23, 122.13°)
OKLaboklab(83.46% -0.0819 0.1121)
OKLCHoklch(83.46% 0.139 126.2)
XYZxyz(46.1534, 60.2825, 24.8237)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D971 #9871D9
analogous
#D9CC71 #B2D971 #7ED971
triadic
#B2D971 #71B2D9 #D971B2
tetradic
#B2D971 #71D9CC #9871D9 #D9717E
square
#B2D971 #71D9CC #9871D9 #D9717E
split-complementary
#B2D971 #717ED9 #CC71D9
monochromatic
#77A42C #98CC41 #B2D971 #CCE6A1 #E6F3D2

Accessibility & contrast

On white

1.61
#B2D971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#B2D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D971
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D971#FFFFFF#000000##000000
##B2D9711.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD68
Deuteranopia (green-blind)
#DDCB77
Tritanopia (blue-blind)
#B7D1C1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b2d971;
/* rgb */ color: rgb(178, 217, 113);
/* oklch */ color: oklch(83.5% 0.139 126.2);
Tailwind
colors: {
  custom: {
    50: '#cbe59c',
    500: '#b2d971',
    950: '#000000',
  },
}
SCSS
$custom: #b2d971;
$custom-light: #cbe59c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d971",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 82.5,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83457,
    "c": 0.13881,
    "h": 126.2
  },
  "luminance": 0.60283
}

Semantic roles & 50–950 ramp

primary
#B2D971
secondary
#6B47A7
accent
#20C55E
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D971

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

Preview Lab → · Contrast checker → · Palette generator →

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