#B2CC7D#B2CC7D

#B2CC7D is a light, moderate yellow-green. Relative luminance 0.541; OKLCH L 80.7% C 0.108 H 123.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#B2CC7D
RGBrgb(178, 204, 125)
HSLhsl(80, 44%, 65%)
HSVhsv(80, 39%, 80%)
CMYKcmyk(12.7%, 0%, 38.7%, 20%)
CIE-LABlab(78.54, -21.72, 36.50)
CIE-LCHlch(78.54, 42.48, 120.75°)
OKLaboklab(80.74% -0.0596 0.0896)
OKLCHoklch(80.74% 0.108 123.6)
XYZxyz(43.6544, 54.1312, 27.5466)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC7D #977DCC
analogous
#CCBF7D #B2CC7D #8BCC7D
triadic
#B2CC7D #7DB2CC #CC7DB2
tetradic
#B2CC7D #7DCCBF #977DCC #CC7D8B
square
#B2CC7D #7DCCBF #977DCC #CC7D8B
split-complementary
#B2CC7D #7D8BCC #BF7DCC
monochromatic
#77943A #98BB51 #B2CC7D #CCDDA9 #E6EED5

Accessibility & contrast

On white

1.78
#B2CC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#B2CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC7D
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC7D#FFFFFF#000000##000000
##B2CC7D1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C377
Deuteranopia (green-blind)
#D1C281
Tritanopia (blue-blind)
#B7C5B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b2cc7d;
/* rgb */ color: rgb(178, 204, 125);
/* oklch */ color: oklch(80.7% 0.108 123.6);
Tailwind
colors: {
  custom: {
    50: '#cadba3',
    500: '#b2cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc7d;
$custom-light: #cadba3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc7d",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 79.747,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80736,
    "c": 0.1076,
    "h": 123.6
  },
  "luminance": 0.54131
}

Semantic roles & 50–950 ramp

primary
#B2CC7D
secondary
#6A529B
accent
#2FB75C
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13150F
muted
#838480

Preview Lab

Preview with #B2CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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