#B4CC48#B4CC48

#B4CC48 is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.157 H 118.9°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#B4CC48
RGBrgb(180, 204, 72)
HSLhsl(71, 56%, 54%)
HSVhsv(71, 65%, 80%)
CMYKcmyk(11.8%, 0%, 64.7%, 20%)
CIE-LABlab(78.09, -25.96, 60.70)
CIE-LCHlch(78.09, 66.02, 113.15°)
OKLaboklab(80.22% -0.0761 0.1378)
OKLCHoklch(80.22% 0.157 118.9)
XYZxyz(41.5857, 53.3572, 14.2378)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC48 #6048CC
analogous
#CCA248 #B4CC48 #72CC48
triadic
#B4CC48 #48B4CC #CC48B4
tetradic
#B4CC48 #48CCA2 #6048CC #CC4872
square
#B4CC48 #48CCA2 #6048CC #CC4872
split-complementary
#B4CC48 #4872CC #A248CC
monochromatic
#687821 #92A82F #B4CC48 #C8D978 #DBE7A8

Accessibility & contrast

On white

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

On black

11.67
#B4CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC48
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC48#FFFFFF#000000##000000
##B4CC481.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4cc48;
/* rgb */ color: rgb(180, 204, 72);
/* oklch */ color: oklch(80.2% 0.157 118.9);
Tailwind
colors: {
  custom: {
    50: '#cddb81',
    500: '#b4cc48',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc48;
$custom-light: #cddb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc48",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 70.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80217,
    "c": 0.15744,
    "h": 118.9
  },
  "luminance": 0.53357
}

Semantic roles & 50–950 ramp

primary
#B4CC48
secondary
#453880
accent
#48E064
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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