#B2CA52#B2CA52

#B2CA52 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.7% C 0.148 H 119.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#B2CA52
RGBrgb(178, 202, 82)
HSLhsl(72, 53%, 56%)
HSVhsv(72, 59%, 79%)
CMYKcmyk(11.9%, 0%, 59.4%, 20.8%)
CIE-LABlab(77.47, -25.08, 55.79)
CIE-LCHlch(77.47, 61.17, 114.20°)
OKLaboklab(79.71% -0.0726 0.1288)
OKLCHoklch(79.71% 0.148 119.4)
XYZxyz(41.0042, 52.3154, 15.9188)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA52 #6A52CA
analogous
#CAA652 #B2CA52 #76CA52
triadic
#B2CA52 #52B2CA #CA52B2
tetradic
#B2CA52 #52CAA6 #6A52CA #CA5276
square
#B2CA52 #52CAA6 #6A52CA #CA5276
split-complementary
#B2CA52 #5276CA #A652CA
monochromatic
#6B7C26 #93AB34 #B2CA52 #C7D881 #DCE7B0

Accessibility & contrast

On white

1.83
#B2CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#B2CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA52
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA52#FFFFFF#000000##000000
##B2CA521.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#D3C05A
Tritanopia (blue-blind)
#BBC0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca52;
/* rgb */ color: rgb(178, 202, 82);
/* oklch */ color: oklch(79.7% 0.148 119.4);
Tailwind
colors: {
  custom: {
    50: '#cbda87',
    500: '#b2ca52',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca52;
$custom-light: #cbda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca52",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 72,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79713,
    "c": 0.14783,
    "h": 119.4
  },
  "luminance": 0.52315
}

Semantic roles & 50–950 ramp

primary
#B2CA52
secondary
#4B3C84
accent
#4BDD68
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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