#B2CB51#B2CB51

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

Color values

HEX#B2CB51
RGBrgb(178, 203, 81)
HSLhsl(72, 54%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(12.3%, 0%, 60.1%, 20.4%)
CIE-LABlab(77.74, -25.64, 56.53)
CIE-LCHlch(77.74, 62.07, 114.40°)
OKLaboklab(79.93% -0.0743 0.1302)
OKLCHoklch(79.93% 0.15 119.7)
XYZxyz(41.2018, 52.7711, 15.7983)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB51 #6A51CB
analogous
#CBA751 #B2CB51 #75CB51
triadic
#B2CB51 #51B2CB #CB51B2
tetradic
#B2CB51 #51CBA7 #6A51CB #CB5175
square
#B2CB51 #51CBA7 #6A51CB #CB5175
split-complementary
#B2CB51 #5175CB #A751CB
monochromatic
#6B7C25 #93AC33 #B2CB51 #C7D980 #DCE7AF

Accessibility & contrast

On white

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

On black

11.55
#B2CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB51
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB51#FFFFFF#000000##000000
##B2CB511.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cb51;
/* rgb */ color: rgb(178, 203, 81);
/* oklch */ color: oklch(79.9% 0.150 119.7);
Tailwind
colors: {
  custom: {
    50: '#ccda87',
    500: '#b2cb51',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb51;
$custom-light: #ccda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb51",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 72.295,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79927,
    "c": 0.1499,
    "h": 119.7
  },
  "luminance": 0.52771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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