#B2CD72#B2CD72

#B2CD72 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.8% C 0.121 H 122.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#B2CD72
RGBrgb(178, 205, 114)
HSLhsl(78, 48%, 63%)
HSVhsv(78, 44%, 80%)
CMYKcmyk(13.2%, 0%, 44.4%, 19.6%)
CIE-LABlab(78.66, -23.51, 42.18)
CIE-LCHlch(78.66, 48.29, 119.13°)
OKLaboklab(80.79% -0.0653 0.1019)
OKLCHoklch(80.79% 0.121 122.7)
XYZxyz(43.2287, 54.3424, 24.1281)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD72 #8D72CD
analogous
#CDBA72 #B2CD72 #85CD72
triadic
#B2CD72 #72B2CD #CD72B2
tetradic
#B2CD72 #72CDBA #8D72CD #CD7285
square
#B2CD72 #72CDBA #8D72CD #CD7285
split-complementary
#B2CD72 #7285CD #BA72CD
monochromatic
#759133 #99BD45 #B2CD72 #CBDD9F #E3EDCC

Accessibility & contrast

On white

1.77
#B2CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#B2CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD72
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD72#FFFFFF#000000##000000
##B2CD721.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36B
Deuteranopia (green-blind)
#D3C377
Tritanopia (blue-blind)
#B8C5B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b2cd72;
/* rgb */ color: rgb(178, 205, 114);
/* oklch */ color: oklch(80.8% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#cadc9c',
    500: '#b2cd72',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd72;
$custom-light: #cadc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd72",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 77.802,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80785,
    "c": 0.12107,
    "h": 122.7
  },
  "luminance": 0.54343
}

Semantic roles & 50–950 ramp

primary
#B2CD72
secondary
#624C97
accent
#2BBB55
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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