#B2CB45#B2CB45

#B2CB45 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.159 H 119.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B2CB45
RGBrgb(178, 203, 69)
HSLhsl(71, 56%, 53%)
HSVhsv(71, 66%, 80%)
CMYKcmyk(12.3%, 0%, 66%, 20.4%)
CIE-LABlab(77.64, -26.48, 61.39)
CIE-LCHlch(77.64, 66.86, 113.33°)
OKLaboklab(79.82% -0.0778 0.1389)
OKLCHoklch(79.82% 0.159 119.2)
XYZxyz(40.7909, 52.6068, 13.6343)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB45 #5E45CB
analogous
#CBA145 #B2CB45 #6FCB45
triadic
#B2CB45 #45B2CB #CB45B2
tetradic
#B2CB45 #45CBA1 #5E45CB #CB456F
square
#B2CB45 #45CBA1 #5E45CB #CB456F
split-complementary
#B2CB45 #456FCB #A145CB
monochromatic
#657521 #8FA52E #B2CB45 #C6D875 #DAE6A5

Accessibility & contrast

On white

1.82
#B2CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#B2CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB45
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB45#FFFFFF#000000##000000
##B2CB451.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D5C04F
Tritanopia (blue-blind)
#BCC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb45;
/* rgb */ color: rgb(178, 203, 69);
/* oklch */ color: oklch(79.8% 0.159 119.2);
Tailwind
colors: {
  custom: {
    50: '#ccda80',
    500: '#b2cb45',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb45;
$custom-light: #ccda80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb45",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 71.194,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.15917,
    "h": 119.2
  },
  "luminance": 0.52607
}

Semantic roles & 50–950 ramp

primary
#B2CB45
secondary
#44377E
accent
#48E064
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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