#B4CD52#B4CD52

#B4CD52 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.151 H 119.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#B4CD52
RGBrgb(180, 205, 82)
HSLhsl(72, 55%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(12.2%, 0%, 60%, 19.6%)
CIE-LABlab(78.45, -25.73, 56.91)
CIE-LCHlch(78.45, 62.46, 114.33°)
OKLaboklab(80.53% -0.0745 0.1311)
OKLCHoklch(80.53% 0.151 119.6)
XYZxyz(42.1773, 53.9753, 16.1773)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD52 #6B52CD
analogous
#CDA952 #B4CD52 #77CD52
triadic
#B4CD52 #52B4CD #CD52B4
tetradic
#B4CD52 #52CDA9 #6B52CD #CD5277
square
#B4CD52 #52CDA9 #6B52CD #CD5277
split-complementary
#B4CD52 #5277CD #A952CD
monochromatic
#6D8025 #96AF33 #B4CD52 #C9DB81 #DDE8B1

Accessibility & contrast

On white

1.78
#B4CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#B4CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD52
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD52#FFFFFF#000000##000000
##B4CD521.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#BDC3B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd52;
/* rgb */ color: rgb(180, 205, 82);
/* oklch */ color: oklch(80.5% 0.151 119.6);
Tailwind
colors: {
  custom: {
    50: '#cddc87',
    500: '#b4cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd52;
$custom-light: #cddc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd52",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 72.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80534,
    "c": 0.15082,
    "h": 119.6
  },
  "luminance": 0.53975
}

Semantic roles & 50–950 ramp

primary
#B4CD52
secondary
#4B3C87
accent
#49DE68
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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