#B5CD3C#B5CD3C

#B5CD3C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.4% C 0.166 H 118.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#B5CD3C
RGBrgb(181, 205, 60)
HSLhsl(70, 59%, 52%)
HSVhsv(70, 71%, 80%)
CMYKcmyk(11.7%, 0%, 70.7%, 19.6%)
CIE-LABlab(78.35, -26.75, 65.57)
CIE-LCHlch(78.35, 70.81, 112.20°)
OKLaboklab(80.42% -0.0795 0.1462)
OKLCHoklch(80.42% 0.166 118.5)
XYZxyz(41.7039, 53.8130, 12.4641)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD3C #543CCD
analogous
#CD9D3C #B5CD3C #6DCD3C
triadic
#B5CD3C #3CB5CD #CD3CB5
tetradic
#B5CD3C #3CCD9D #543CCD #CD3C6D
square
#B5CD3C #3CCD9D #543CCD #CD3C6D
split-complementary
#B5CD3C #3C6DCD #9D3CCD
monochromatic
#64711D #8EA22A #B5CD3C #C7D96D #DAE69D

Accessibility & contrast

On white

1.79
#B5CD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#B5CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD3C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD3C#FFFFFF#000000##000000
##B5CD3C1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC222
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#C0C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd3c;
/* rgb */ color: rgb(181, 205, 60);
/* oklch */ color: oklch(80.4% 0.166 118.5);
Tailwind
colors: {
  custom: {
    50: '#cfdc7b',
    500: '#b5cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd3c;
$custom-light: #cfdc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd3c",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 69.931,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80423,
    "c": 0.16642,
    "h": 118.5
  },
  "luminance": 0.53813
}

Semantic roles & 50–950 ramp

primary
#B5CD3C
secondary
#3F337A
accent
#45E25F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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