#B2CB52#B2CB52

#B2CB52 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.149 H 119.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B2CB52
RGBrgb(178, 203, 82)
HSLhsl(72, 54%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(12.3%, 0%, 59.6%, 20.4%)
CIE-LABlab(77.75, -25.56, 56.10)
CIE-LCHlch(77.75, 61.65, 114.50°)
OKLaboklab(79.94% -0.0739 0.1294)
OKLCHoklch(79.94% 0.149 119.7)
XYZxyz(41.2396, 52.7862, 15.9972)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB52 #6B52CB
analogous
#CBA852 #B2CB52 #75CB52
triadic
#B2CB52 #52B2CB #CB52B2
tetradic
#B2CB52 #52CBA8 #6B52CB #CB5275
square
#B2CB52 #52CBA8 #6B52CB #CB5275
split-complementary
#B2CB52 #5275CB #A852CB
monochromatic
#6B7D26 #93AC34 #B2CB52 #C7D981 #DCE7B0

Accessibility & contrast

On white

1.82
#B2CB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B2CB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB52
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB52#FFFFFF#000000##000000
##B2CB521.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#BBC1B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb52;
/* rgb */ color: rgb(178, 203, 82);
/* oklch */ color: oklch(79.9% 0.149 119.7);
Tailwind
colors: {
  custom: {
    50: '#ccda87',
    500: '#b2cb52',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb52;
$custom-light: #ccda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb52",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 72.397,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.14907,
    "h": 119.7
  },
  "luminance": 0.52786
}

Semantic roles & 50–950 ramp

primary
#B2CB52
secondary
#4B3C85
accent
#4BDD69
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2CB52

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

Preview Lab → · Contrast checker → · Palette generator →

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