#B2CA51#B2CA51

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

Color values

HEX#B2CA51
RGBrgb(178, 202, 81)
HSLhsl(72, 53%, 55%)
HSVhsv(72, 60%, 79%)
CMYKcmyk(11.9%, 0%, 59.9%, 20.8%)
CIE-LABlab(77.46, -25.16, 56.22)
CIE-LCHlch(77.46, 61.59, 114.11°)
OKLaboklab(79.7% -0.0729 0.1296)
OKLCHoklch(79.7% 0.149 119.4)
XYZxyz(40.9664, 52.3003, 15.7198)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA51 #6951CA
analogous
#CAA551 #B2CA51 #75CA51
triadic
#B2CA51 #51B2CA #CA51B2
tetradic
#B2CA51 #51CAA5 #6951CA #CA5175
square
#B2CA51 #51CAA5 #6951CA #CA5175
split-complementary
#B2CA51 #5175CA #A551CA
monochromatic
#6A7B25 #93AA34 #B2CA51 #C7D880 #DCE7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CA51#FFFFFF#000000##000000
##B2CA511.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)
#D6BF43
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#BBC0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca51;
/* rgb */ color: rgb(178, 202, 81);
/* oklch */ color: oklch(79.7% 0.149 119.4);
Tailwind
colors: {
  custom: {
    50: '#ccda87',
    500: '#b2ca51',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca51;
$custom-light: #ccda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca51",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 71.901,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.14867,
    "h": 119.4
  },
  "luminance": 0.523
}

Semantic roles & 50–950 ramp

primary
#B2CA51
secondary
#4A3C83
accent
#4BDD68
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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