#B2CD52#B2CD52

#B2CD52 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.4% C 0.152 H 120.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B2CD52
RGBrgb(178, 205, 82)
HSLhsl(73, 55%, 56%)
HSVhsv(73, 60%, 80%)
CMYKcmyk(13.2%, 0%, 60%, 19.6%)
CIE-LABlab(78.31, -26.53, 56.72)
CIE-LCHlch(78.31, 62.62, 115.06°)
OKLaboklab(80.39% -0.0766 0.1307)
OKLCHoklch(80.39% 0.152 120.4)
XYZxyz(41.7149, 53.7369, 16.1557)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD52 #6D52CD
analogous
#CDAB52 #B2CD52 #75CD52
triadic
#B2CD52 #52B2CD #CD52B2
tetradic
#B2CD52 #52CDAB #6D52CD #CD5275
square
#B2CD52 #52CDAB #6D52CD #CD5275
split-complementary
#B2CD52 #5275CD #AB52CD
monochromatic
#6C8025 #94AF33 #B2CD52 #C7DB81 #DCE8B1

Accessibility & contrast

On white

1.79
#B2CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B2CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD52
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD52#FFFFFF#000000##000000
##B2CD521.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#BBC3B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b2cd52;
/* rgb */ color: rgb(178, 205, 82);
/* oklch */ color: oklch(80.4% 0.152 120.4);
Tailwind
colors: {
  custom: {
    50: '#ccdc87',
    500: '#b2cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd52;
$custom-light: #ccdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd52",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 73.171,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80387,
    "c": 0.15155,
    "h": 120.4
  },
  "luminance": 0.53737
}

Semantic roles & 50–950 ramp

primary
#B2CD52
secondary
#4C3C87
accent
#49DE6A
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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