#B2D97D#B2D97D

#B2D97D is a very light, vivid yellow-green. Relative luminance 0.606; OKLCH L 83.6% C 0.126 H 127.7°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#B2D97D
RGBrgb(178, 217, 125)
HSLhsl(85, 55%, 67%)
HSVhsv(85, 42%, 85%)
CMYKcmyk(18%, 0%, 42.4%, 14.9%)
CIE-LABlab(82.15, -28.01, 41.10)
CIE-LCHlch(82.15, 49.74, 124.28°)
OKLaboklab(83.63% -0.0773 0.1001)
OKLCHoklch(83.63% 0.126 127.7)
XYZxyz(46.8742, 60.5708, 28.6199)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D97D #A47DD9
analogous
#D9D27D #B2D97D #84D97D
triadic
#B2D97D #7DB2D9 #D97DB2
tetradic
#B2D97D #7DD9D2 #A47DD9 #D97D84
square
#B2D97D #7DD9D2 #A47DD9 #D97D84
split-complementary
#B2D97D #7D84D9 #D27DD9
monochromatic
#77AA32 #96CB4E #B2D97D #CEE7AC #EAF5DC

Accessibility & contrast

On white

1.60
#B2D97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#B2D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D97D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D97D#FFFFFF#000000##000000
##B2D97D1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE76
Deuteranopia (green-blind)
#DCCC82
Tritanopia (blue-blind)
#B6D2C3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b2d97d;
/* rgb */ color: rgb(178, 217, 125);
/* oklch */ color: oklch(83.6% 0.126 127.7);
Tailwind
colors: {
  custom: {
    50: '#cae5a4',
    500: '#b2d97d',
    950: '#000000',
  },
}
SCSS
$custom: #b2d97d;
$custom-light: #cae5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d97d",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 85.435,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83633,
    "c": 0.12644,
    "h": 127.7
  },
  "luminance": 0.60571
}

Semantic roles & 50–950 ramp

primary
#B2D97D
secondary
#764DAD
accent
#23C267
background
#FEFEFC
surface
#FAFCF6
border
#D3D5D0
text
#13150F
muted
#838480

Preview Lab

Preview with #B2D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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