#B4CC5A#B4CC5A

#B4CC5A is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.4% C 0.143 H 119.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B4CC5A
RGBrgb(180, 204, 90)
HSLhsl(73, 53%, 58%)
HSVhsv(73, 56%, 80%)
CMYKcmyk(11.8%, 0%, 55.9%, 20%)
CIE-LABlab(78.24, -24.60, 53.14)
CIE-LCHlch(78.24, 58.56, 114.84°)
OKLaboklab(80.4% -0.0706 0.124)
OKLCHoklch(80.4% 0.143 119.7)
XYZxyz(42.2612, 53.6274, 17.7956)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC5A #725ACC
analogous
#CCAB5A #B4CC5A #7BCC5A
triadic
#B4CC5A #5AB4CC #CC5AB4
tetradic
#B4CC5A #5ACCAB #725ACC #CC5A7B
square
#B4CC5A #5ACCAB #725ACC #CC5A7B
split-complementary
#B4CC5A #5A7BCC #AB5ACC
monochromatic
#708329 #98B237 #B4CC5A #C9DA89 #DEE9B7

Accessibility & contrast

On white

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

On black

11.73
#B4CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC5A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC5A#FFFFFF#000000##000000
##B4CC5A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#BDC2B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc5a;
/* rgb */ color: rgb(180, 204, 90);
/* oklch */ color: oklch(80.4% 0.143 119.7);
Tailwind
colors: {
  custom: {
    50: '#cddb8c',
    500: '#b4cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc5a;
$custom-light: #cddb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc5a",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 72.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80395,
    "c": 0.14266,
    "h": 119.7
  },
  "luminance": 0.53627
}

Semantic roles & 50–950 ramp

primary
#B4CC5A
secondary
#4F408A
accent
#4CDC6A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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