#B5CD3A#B5CD3A

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

Color values

HEX#B5CD3A
RGBrgb(181, 205, 58)
HSLhsl(70, 60%, 52%)
HSVhsv(70, 72%, 80%)
CMYKcmyk(11.7%, 0%, 71.7%, 19.6%)
CIE-LABlab(78.34, -26.86, 66.26)
CIE-LCHlch(78.34, 71.50, 112.06°)
OKLaboklab(80.41% -0.08 0.1473)
OKLCHoklch(80.41% 0.168 118.5)
XYZxyz(41.6520, 53.7922, 12.1909)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD3A #523ACD
analogous
#CD9C3A #B5CD3A #6CCD3A
triadic
#B5CD3A #3AB5CD #CD3AB5
tetradic
#B5CD3A #3ACD9C #523ACD #CD3A6C
square
#B5CD3A #3ACD9C #523ACD #CD3A6C
split-complementary
#B5CD3A #3A6CCD #9C3ACD
monochromatic
#62701C #8DA129 #B5CD3A #C7D96B #DAE69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CD3A#FFFFFF#000000##000000
##B5CD3A1.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)
#DAC21F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C0C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd3a;
/* rgb */ color: rgb(181, 205, 58);
/* oklch */ color: oklch(80.4% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#cfdc7a',
    500: '#b5cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd3a;
$custom-light: #cfdc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd3a",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 69.796,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80409,
    "c": 0.16764,
    "h": 118.5
  },
  "luminance": 0.53792
}

Semantic roles & 50–950 ramp

primary
#B5CD3A
secondary
#3E3279
accent
#45E35F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B5CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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