#B2CD51#B2CD51

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

Color values

HEX#B2CD51
RGBrgb(178, 205, 81)
HSLhsl(73, 55%, 56%)
HSVhsv(73, 60%, 80%)
CMYKcmyk(13.2%, 0%, 60.5%, 19.6%)
CIE-LABlab(78.30, -26.60, 57.14)
CIE-LCHlch(78.30, 63.03, 114.96°)
OKLaboklab(80.38% -0.0769 0.1315)
OKLCHoklch(80.38% 0.152 120.3)
XYZxyz(41.6772, 53.7218, 15.9567)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD51 #6C51CD
analogous
#CDAA51 #B2CD51 #74CD51
triadic
#B2CD51 #51B2CD #CD51B2
tetradic
#B2CD51 #51CDAA #6C51CD #CD5174
square
#B2CD51 #51CDAA #6C51CD #CD5174
split-complementary
#B2CD51 #5174CD #AA51CD
monochromatic
#6B7F25 #94AF32 #B2CD51 #C7DB81 #DCE8B0

Accessibility & contrast

On white

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

On black

11.74
#B2CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD51
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD51#FFFFFF#000000##000000
##B2CD511.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cd51;
/* rgb */ color: rgb(178, 205, 81);
/* oklch */ color: oklch(80.4% 0.152 120.3);
Tailwind
colors: {
  custom: {
    50: '#ccdc87',
    500: '#b2cd51',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd51;
$custom-light: #ccdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd51",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 73.065,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80377,
    "c": 0.15237,
    "h": 120.3
  },
  "luminance": 0.53722
}

Semantic roles & 50–950 ramp

primary
#B2CD51
secondary
#4C3B87
accent
#49DF6A
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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