#B2CD45#B2CD45

#B2CD45 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.3% C 0.162 H 119.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#B2CD45
RGBrgb(178, 205, 69)
HSLhsl(72, 58%, 54%)
HSVhsv(72, 66%, 80%)
CMYKcmyk(13.2%, 0%, 66.3%, 19.6%)
CIE-LABlab(78.20, -27.44, 61.97)
CIE-LCHlch(78.20, 67.78, 113.88°)
OKLaboklab(80.27% -0.0804 0.1401)
OKLCHoklch(80.27% 0.162 119.9)
XYZxyz(41.2663, 53.5575, 13.7927)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD45 #6045CD
analogous
#CDA445 #B2CD45 #6ECD45
triadic
#B2CD45 #45B2CD #CD45B2
tetradic
#B2CD45 #45CDA4 #6045CD #CD456E
square
#B2CD45 #45CDA4 #6045CD #CD456E
split-complementary
#B2CD45 #456ECD #A445CD
monochromatic
#667720 #8FA82D #B2CD45 #C6DA75 #DAE7A5

Accessibility & contrast

On white

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

On black

11.71
#B2CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD45
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD45#FFFFFF#000000##000000
##B2CD451.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cd45;
/* rgb */ color: rgb(178, 205, 69);
/* oklch */ color: oklch(80.3% 0.162 119.9);
Tailwind
colors: {
  custom: {
    50: '#ccdc80',
    500: '#b2cd45',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd45;
$custom-light: #ccdc80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd45",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 71.912,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.16154,
    "h": 119.9
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

primary
#B2CD45
secondary
#453680
accent
#47E165
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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