#B5CC48#B5CC48

#B5CC48 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.3% C 0.157 H 118.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#B5CC48
RGBrgb(181, 204, 72)
HSLhsl(70, 56%, 54%)
HSVhsv(70, 65%, 80%)
CMYKcmyk(11.3%, 0%, 64.7%, 20%)
CIE-LABlab(78.16, -25.55, 60.80)
CIE-LCHlch(78.16, 65.95, 112.80°)
OKLaboklab(80.29% -0.0751 0.138)
OKLCHoklch(80.29% 0.157 118.5)
XYZxyz(41.8194, 53.4777, 14.2488)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC48 #5F48CC
analogous
#CCA148 #B5CC48 #73CC48
triadic
#B5CC48 #48B5CC #CC48B5
tetradic
#B5CC48 #48CCA1 #5F48CC #CC4873
square
#B5CC48 #48CCA1 #5F48CC #CC4873
split-complementary
#B5CC48 #4873CC #A148CC
monochromatic
#697821 #93A82F #B5CC48 #C8D978 #DCE7A8

Accessibility & contrast

On white

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

On black

11.70
#B5CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC48
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC48#FFFFFF#000000##000000
##B5CC481.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5cc48;
/* rgb */ color: rgb(181, 204, 72);
/* oklch */ color: oklch(80.3% 0.157 118.5);
Tailwind
colors: {
  custom: {
    50: '#cedb81',
    500: '#b5cc48',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc48;
$custom-light: #cedb81;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc48",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 70.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80291,
    "c": 0.15709,
    "h": 118.5
  },
  "luminance": 0.53477
}

Semantic roles & 50–950 ramp

primary
#B5CC48
secondary
#443880
accent
#48E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B5CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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