#B4CC45#B4CC45

#B4CC45 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.2% C 0.160 H 118.8°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B4CC45
RGBrgb(180, 204, 69)
HSLhsl(71, 57%, 54%)
HSVhsv(71, 66%, 80%)
CMYKcmyk(11.8%, 0%, 66.2%, 20%)
CIE-LABlab(78.06, -26.15, 61.87)
CIE-LCHlch(78.06, 67.17, 112.91°)
OKLaboklab(80.19% -0.077 0.1398)
OKLCHoklch(80.19% 0.16 118.8)
XYZxyz(41.4902, 53.3190, 13.7349)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC45 #5D45CC
analogous
#CCA045 #B4CC45 #70CC45
triadic
#B4CC45 #45B4CC #CC45B4
tetradic
#B4CC45 #45CCA0 #5D45CC #CC4570
square
#B4CC45 #45CCA0 #5D45CC #CC4570
split-complementary
#B4CC45 #4570CC #A045CC
monochromatic
#677620 #91A62E #B4CC45 #C7D975 #DBE6A5

Accessibility & contrast

On white

1.80
#B4CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B4CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC45
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC45#FFFFFF#000000##000000
##B4CC451.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#BEC1B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc45;
/* rgb */ color: rgb(180, 204, 69);
/* oklch */ color: oklch(80.2% 0.160 118.8);
Tailwind
colors: {
  custom: {
    50: '#cddb80',
    500: '#b4cc45',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc45;
$custom-light: #cddb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc45",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 70.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80191,
    "c": 0.15962,
    "h": 118.8
  },
  "luminance": 0.53319
}

Semantic roles & 50–950 ramp

primary
#B4CC45
secondary
#43367F
accent
#48E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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