#B2CC45#B2CC45

#B2CC45 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.160 H 119.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B2CC45
RGBrgb(178, 204, 69)
HSLhsl(72, 57%, 54%)
HSVhsv(72, 66%, 80%)
CMYKcmyk(12.7%, 0%, 66.2%, 20%)
CIE-LABlab(77.92, -26.96, 61.68)
CIE-LCHlch(77.92, 67.32, 113.61°)
OKLaboklab(80.04% -0.0791 0.1395)
OKLCHoklch(80.04% 0.16 119.6)
XYZxyz(41.0278, 53.0806, 13.7133)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC45 #5F45CC
analogous
#CCA345 #B2CC45 #6ECC45
triadic
#B2CC45 #45B2CC #CC45B2
tetradic
#B2CC45 #45CCA3 #5F45CC #CC456E
square
#B2CC45 #45CCA3 #5F45CC #CC456E
split-complementary
#B2CC45 #456ECC #A345CC
monochromatic
#667620 #8FA62E #B2CC45 #C6D975 #DAE6A5

Accessibility & contrast

On white

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

On black

11.62
#B2CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC45
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC45#FFFFFF#000000##000000
##B2CC451.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#BCC1B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc45;
/* rgb */ color: rgb(178, 204, 69);
/* oklch */ color: oklch(80.0% 0.160 119.6);
Tailwind
colors: {
  custom: {
    50: '#ccdb80',
    500: '#b2cc45',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc45;
$custom-light: #ccdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc45",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 71.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80043,
    "c": 0.16036,
    "h": 119.6
  },
  "luminance": 0.5308
}

Semantic roles & 50–950 ramp

primary
#B2CC45
secondary
#44367F
accent
#48E065
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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