#B2CD42#B2CD42

#B2CD42 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.2% C 0.164 H 119.8°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#B2CD42
RGBrgb(178, 205, 66)
HSLhsl(72, 58%, 53%)
HSVhsv(72, 68%, 80%)
CMYKcmyk(13.2%, 0%, 67.8%, 19.6%)
CIE-LABlab(78.18, -27.63, 63.11)
CIE-LCHlch(78.18, 68.89, 113.64°)
OKLaboklab(80.25% -0.0812 0.1421)
OKLCHoklch(80.25% 0.164 119.8)
XYZxyz(41.1755, 53.5212, 13.3146)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD42 #5D42CD
analogous
#CDA342 #B2CD42 #6CCD42
triadic
#B2CD42 #42B2CD #CD42B2
tetradic
#B2CD42 #42CDA3 #5D42CD #CD426C
square
#B2CD42 #42CDA3 #5D42CD #CD426C
split-complementary
#B2CD42 #426CCD #A342CD
monochromatic
#65761F #8EA62C #B2CD42 #C6DA72 #D9E7A3

Accessibility & contrast

On white

1.79
#B2CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#B2CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD42
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD42#FFFFFF#000000##000000
##B2CD421.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#BCC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cd42;
/* rgb */ color: rgb(178, 205, 66);
/* oklch */ color: oklch(80.2% 0.164 119.8);
Tailwind
colors: {
  custom: {
    50: '#ccdc7e',
    500: '#b2cd42',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd42;
$custom-light: #ccdc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd42",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 71.655,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80245,
    "c": 0.16363,
    "h": 119.8
  },
  "luminance": 0.53521
}

Semantic roles & 50–950 ramp

primary
#B2CD42
secondary
#43357E
accent
#46E165
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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