#B5CC40#B5CC40

#B5CC40 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.2% C 0.163 H 118.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B5CC40
RGBrgb(181, 204, 64)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 69%, 80%)
CMYKcmyk(11.3%, 0%, 68.6%, 20%)
CIE-LABlab(78.10, -26.05, 63.85)
CIE-LCHlch(78.10, 68.96, 112.19°)
OKLaboklab(80.23% -0.0772 0.1432)
OKLCHoklch(80.23% 0.163 118.3)
XYZxyz(41.5752, 53.3800, 12.9627)
Luminance0.5338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC40 #5740CC
analogous
#CC9D40 #B5CC40 #6FCC40
triadic
#B5CC40 #40B5CC #CC40B5
tetradic
#B5CC40 #40CC9D #5740CC #CC406F
square
#B5CC40 #40CC9D #5740CC #CC406F
split-complementary
#B5CC40 #406FCC #9D40CC
monochromatic
#65731F #90A32C #B5CC40 #C8D970 #DAE6A1

Accessibility & contrast

On white

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

On black

11.68
#B5CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC40
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC40#FFFFFF#000000##000000
##B5CC401.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc40;
/* rgb */ color: rgb(181, 204, 64);
/* oklch */ color: oklch(80.2% 0.163 118.3);
Tailwind
colors: {
  custom: {
    50: '#cedb7d',
    500: '#b5cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc40;
$custom-light: #cedb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc40",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 69.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80227,
    "c": 0.1627,
    "h": 118.3
  },
  "luminance": 0.5338
}

Semantic roles & 50–950 ramp

primary
#B5CC40
secondary
#40347C
accent
#47E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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