#B2CC48#B2CC48

#B2CC48 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.1% C 0.158 H 119.7°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B2CC48
RGBrgb(178, 204, 72)
HSLhsl(72, 56%, 54%)
HSVhsv(72, 65%, 80%)
CMYKcmyk(12.7%, 0%, 64.7%, 20%)
CIE-LABlab(77.95, -26.77, 60.51)
CIE-LCHlch(77.95, 66.17, 113.86°)
OKLaboklab(80.07% -0.0783 0.1375)
OKLCHoklch(80.07% 0.158 119.7)
XYZxyz(41.1233, 53.1188, 14.2162)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC48 #6248CC
analogous
#CCA448 #B2CC48 #70CC48
triadic
#B2CC48 #48B2CC #CC48B2
tetradic
#B2CC48 #48CCA4 #6248CC #CC4870
square
#B2CC48 #48CCA4 #6248CC #CC4870
split-complementary
#B2CC48 #4870CC #A448CC
monochromatic
#677821 #90A82F #B2CC48 #C6D978 #DAE7A8

Accessibility & contrast

On white

1.81
#B2CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B2CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC48
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC48#FFFFFF#000000##000000
##B2CC481.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C136
Deuteranopia (green-blind)
#D5C152
Tritanopia (blue-blind)
#BCC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc48;
/* rgb */ color: rgb(178, 204, 72);
/* oklch */ color: oklch(80.1% 0.158 119.7);
Tailwind
colors: {
  custom: {
    50: '#ccdb81',
    500: '#b2cc48',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc48;
$custom-light: #ccdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc48",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 71.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80068,
    "c": 0.15817,
    "h": 119.7
  },
  "luminance": 0.53119
}

Semantic roles & 50–950 ramp

primary
#B2CC48
secondary
#463880
accent
#48E066
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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