#B5CD51#B5CD51

#B5CD51 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.6% C 0.151 H 119.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#B5CD51
RGBrgb(181, 205, 81)
HSLhsl(72, 55%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(11.7%, 0%, 60.5%, 19.6%)
CIE-LABlab(78.51, -25.40, 57.43)
CIE-LCHlch(78.51, 62.80, 113.86°)
OKLaboklab(80.6% -0.0738 0.1321)
OKLCHoklch(80.6% 0.151 119.2)
XYZxyz(42.3732, 54.0807, 15.9894)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD51 #6951CD
analogous
#CDA751 #B5CD51 #77CD51
triadic
#B5CD51 #51B5CD #CD51B5
tetradic
#B5CD51 #51CDA7 #6951CD #CD5177
square
#B5CD51 #51CDA7 #6951CD #CD5177
split-complementary
#B5CD51 #5177CD #A751CD
monochromatic
#6E7F25 #97AF32 #B5CD51 #C9DB81 #DDE8B0

Accessibility & contrast

On white

1.78
#B5CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#B5CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CD51
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CD51#FFFFFF#000000##000000
##B5CD511.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#BFC3B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd51;
/* rgb */ color: rgb(181, 205, 81);
/* oklch */ color: oklch(80.6% 0.151 119.2);
Tailwind
colors: {
  custom: {
    50: '#cedc87',
    500: '#b5cd51',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd51;
$custom-light: #cedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd51",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 71.613,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80598,
    "c": 0.15128,
    "h": 119.2
  },
  "luminance": 0.5408
}

Semantic roles & 50–950 ramp

primary
#B5CD51
secondary
#4A3B87
accent
#49DF66
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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