#B2CB57#B2CB57

#B2CB57 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 80.0% C 0.145 H 120.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#B2CB57
RGBrgb(178, 203, 87)
HSLhsl(73, 53%, 57%)
HSVhsv(73, 57%, 80%)
CMYKcmyk(12.3%, 0%, 57.1%, 20.4%)
CIE-LABlab(77.80, -25.16, 53.95)
CIE-LCHlch(77.80, 59.53, 115.01°)
OKLaboklab(79.99% -0.0723 0.1254)
OKLCHoklch(79.99% 0.145 120)
XYZxyz(41.4368, 52.8651, 17.0360)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB57 #7057CB
analogous
#CBAA57 #B2CB57 #78CB57
triadic
#B2CB57 #57B2CB #CB57B2
tetradic
#B2CB57 #57CBAA #7057CB #CB5778
square
#B2CB57 #57CBAA #7057CB #CB5778
split-complementary
#B2CB57 #5778CB #AA57CB
monochromatic
#6D8028 #95AF36 #B2CB57 #C7D986 #DDE8B4

Accessibility & contrast

On white

1.81
#B2CB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#B2CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB57
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB57#FFFFFF#000000##000000
##B2CB571.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C04B
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#BBC1B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb57;
/* rgb */ color: rgb(178, 203, 87);
/* oklch */ color: oklch(80.0% 0.145 120.0);
Tailwind
colors: {
  custom: {
    50: '#cbda8a',
    500: '#b2cb57',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb57;
$custom-light: #cbda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb57",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 72.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7999,
    "c": 0.14478,
    "h": 120
  },
  "luminance": 0.52865
}

Semantic roles & 50–950 ramp

primary
#B2CB57
secondary
#4E3F88
accent
#4CDC6B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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