#B4CC52#B4CC52

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

Color values

HEX#B4CC52
RGBrgb(180, 204, 82)
HSLhsl(72, 54%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(11.8%, 0%, 59.8%, 20%)
CIE-LABlab(78.17, -25.25, 56.60)
CIE-LCHlch(78.17, 61.98, 114.04°)
OKLaboklab(80.31% -0.0732 0.1305)
OKLCHoklch(80.31% 0.15 119.3)
XYZxyz(41.9389, 53.4985, 16.0979)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC52 #6A52CC
analogous
#CCA752 #B4CC52 #77CC52
triadic
#B4CC52 #52B4CC #CC52B4
tetradic
#B4CC52 #52CCA7 #6A52CC #CC5277
square
#B4CC52 #52CCA7 #6A52CC #CC5277
split-complementary
#B4CC52 #5277CC #A752CC
monochromatic
#6D7E25 #96AE33 #B4CC52 #C8DA81 #DDE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4CC52#FFFFFF#000000##000000
##B4CC521.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)
#D8C144
Deuteranopia (green-blind)
#D5C25A
Tritanopia (blue-blind)
#BDC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc52;
/* rgb */ color: rgb(180, 204, 82);
/* oklch */ color: oklch(80.3% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#cddb87',
    500: '#b4cc52',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc52;
$custom-light: #cddb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc52",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 71.803,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8031,
    "c": 0.14958,
    "h": 119.3
  },
  "luminance": 0.53498
}

Semantic roles & 50–950 ramp

primary
#B4CC52
secondary
#4B3C86
accent
#4ADE67
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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