#B5CD2C#B5CD2C

#B5CD2C is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.3% C 0.175 H 118.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B5CD2C
RGBrgb(181, 205, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 79%, 80%)
CMYKcmyk(11.7%, 0%, 78.5%, 19.6%)
CIE-LABlab(78.27, -27.49, 70.63)
CIE-LCHlch(78.27, 75.79, 111.26°)
OKLaboklab(80.33% -0.0828 0.1542)
OKLCHoklch(80.33% 0.175 118.2)
XYZxyz(41.3430, 53.6686, 10.5635)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD2C #442CCD
analogous
#CD952C #B5CD2C #65CD2C
triadic
#B5CD2C #2CB5CD #CD2CB5
tetradic
#B5CD2C #2CCD95 #442CCD #CD2C65
square
#B5CD2C #2CCD95 #442CCD #CD2C65
split-complementary
#B5CD2C #2C65CD #952CCD
monochromatic
#5C6816 #899B21 #B5CD2C #C8DC5B #D9E78D

Accessibility & contrast

On white

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

On black

11.73
#B5CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD2C
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD2C#FFFFFF#000000##000000
##B5CD2C1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd2c;
/* rgb */ color: rgb(181, 205, 44);
/* oklch */ color: oklch(80.3% 0.175 118.2);
Tailwind
colors: {
  custom: {
    50: '#cfdc73',
    500: '#b5cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd2c;
$custom-light: #cfdc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd2c",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 68.944,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80328,
    "c": 0.17506,
    "h": 118.2
  },
  "luminance": 0.53668
}

Semantic roles & 50–950 ramp

primary
#B5CD2C
secondary
#362B72
accent
#40E859
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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