#B2CA45#B2CA45

#B2CA45 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.158 H 118.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#B2CA45
RGBrgb(178, 202, 69)
HSLhsl(71, 56%, 53%)
HSVhsv(71, 66%, 79%)
CMYKcmyk(11.9%, 0%, 65.8%, 20.8%)
CIE-LABlab(77.36, -26.00, 61.10)
CIE-LCHlch(77.36, 66.41, 113.05°)
OKLaboklab(79.59% -0.0764 0.1383)
OKLCHoklch(79.59% 0.158 118.9)
XYZxyz(40.5555, 52.1360, 13.5558)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA45 #5D45CA
analogous
#CA9F45 #B2CA45 #6FCA45
triadic
#B2CA45 #45B2CA #CA45B2
tetradic
#B2CA45 #45CA9F #5D45CA #CA456F
square
#B2CA45 #45CA9F #5D45CA #CA456F
split-complementary
#B2CA45 #456FCA #9F45CA
monochromatic
#657421 #8EA32F #B2CA45 #C6D875 #D9E5A4

Accessibility & contrast

On white

1.84
#B2CA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#B2CA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA45
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA45#FFFFFF#000000##000000
##B2CA451.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF32
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#BCBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca45;
/* rgb */ color: rgb(178, 202, 69);
/* oklch */ color: oklch(79.6% 0.158 118.9);
Tailwind
colors: {
  custom: {
    50: '#ccda80',
    500: '#b2ca45',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca45;
$custom-light: #ccda80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca45",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 70.827,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79592,
    "c": 0.15799,
    "h": 118.9
  },
  "luminance": 0.52136
}

Semantic roles & 50–950 ramp

primary
#B2CA45
secondary
#43377D
accent
#49DF64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CA45

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

Preview Lab → · Contrast checker → · Palette generator →

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