#B2D17C#B2D17C

#B2D17C is a light, moderate yellow-green. Relative luminance 0.565; OKLCH L 81.8% C 0.116 H 125.2°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B2D17C
RGBrgb(178, 209, 124)
HSLhsl(82, 48%, 65%)
HSVhsv(82, 41%, 82%)
CMYKcmyk(14.8%, 0%, 40.7%, 18%)
CIE-LABlab(79.91, -24.29, 38.76)
CIE-LCHlch(79.91, 45.74, 122.07°)
OKLaboklab(81.83% -0.0669 0.0947)
OKLCHoklch(81.83% 0.116 125.2)
XYZxyz(44.7984, 56.5208, 27.6144)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D17C #9B7CD1
analogous
#D1C57C #B2D17C #87D17C
triadic
#B2D17C #7CB2D1 #D17CB2
tetradic
#B2D17C #7CD1C5 #9B7CD1 #D17C87
square
#B2D17C #7CD1C5 #9B7CD1 #D17C87
split-complementary
#B2D17C #7C87D1 #C57CD1
monochromatic
#779C37 #97C14F #B2D17C #CDE1A9 #E7F1D7

Accessibility & contrast

On white

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

On black

12.30
#B2D17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D17C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D17C#FFFFFF#000000##000000
##B2D17C1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC776
Deuteranopia (green-blind)
#D5C680
Tritanopia (blue-blind)
#B7CABC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d17c;
/* rgb */ color: rgb(178, 209, 124);
/* oklch */ color: oklch(81.8% 0.116 125.2);
Tailwind
colors: {
  custom: {
    50: '#cadfa3',
    500: '#b2d17c',
    950: '#000000',
  },
}
SCSS
$custom: #b2d17c;
$custom-light: #cadfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d17c",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 81.882,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81831,
    "c": 0.11595,
    "h": 125.2
  },
  "luminance": 0.56521
}

Semantic roles & 50–950 ramp

primary
#B2D17C
secondary
#6E50A1
accent
#2ABB5F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #B2D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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