#B2CA57#B2CA57

#B2CA57 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.8% C 0.144 H 119.6°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#B2CA57
RGBrgb(178, 202, 87)
HSLhsl(73, 52%, 57%)
HSVhsv(73, 57%, 79%)
CMYKcmyk(11.9%, 0%, 56.9%, 20.8%)
CIE-LABlab(77.52, -24.68, 53.63)
CIE-LCHlch(77.52, 59.03, 114.71°)
OKLaboklab(79.77% -0.071 0.1247)
OKLCHoklch(79.77% 0.144 119.6)
XYZxyz(41.2014, 52.3943, 16.9576)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA57 #6F57CA
analogous
#CAA957 #B2CA57 #79CA57
triadic
#B2CA57 #57B2CA #CA57B2
tetradic
#B2CA57 #57CAA9 #6F57CA #CA5779
square
#B2CA57 #57CAA9 #6F57CA #CA5779
split-complementary
#B2CA57 #5779CA #A957CA
monochromatic
#6D7F28 #94AD37 #B2CA57 #C7D986 #DDE7B4

Accessibility & contrast

On white

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

On black

11.48
#B2CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA57
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA57#FFFFFF#000000##000000
##B2CA571.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#BBC0B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca57;
/* rgb */ color: rgb(178, 202, 87);
/* oklch */ color: oklch(79.8% 0.144 119.6);
Tailwind
colors: {
  custom: {
    50: '#cbda8a',
    500: '#b2ca57',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca57;
$custom-light: #cbda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca57",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 72.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79765,
    "c": 0.14351,
    "h": 119.6
  },
  "luminance": 0.52394
}

Semantic roles & 50–950 ramp

primary
#B2CA57
secondary
#4E3F87
accent
#4CDB6A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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