#B5CD52#B5CD52

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

Color values

HEX#B5CD52
RGBrgb(181, 205, 82)
HSLhsl(72, 55%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(11.7%, 0%, 60%, 19.6%)
CIE-LABlab(78.52, -25.33, 57.01)
CIE-LCHlch(78.52, 62.38, 113.95°)
OKLaboklab(80.61% -0.0735 0.1313)
OKLCHoklch(80.61% 0.15 119.2)
XYZxyz(42.4110, 54.0958, 16.1883)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CD52 #6A52CD
analogous
#CDA852 #B5CD52 #78CD52
triadic
#B5CD52 #52B5CD #CD52B5
tetradic
#B5CD52 #52CDA8 #6A52CD #CD5278
square
#B5CD52 #52CDA8 #6A52CD #CD5278
split-complementary
#B5CD52 #5278CD #A852CD
monochromatic
#6E8025 #97AF33 #B5CD52 #C9DB81 #DEE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CD52#FFFFFF#000000##000000
##B5CD521.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)
#D9C244
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#BFC3B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b5cd52;
/* rgb */ color: rgb(181, 205, 82);
/* oklch */ color: oklch(80.6% 0.150 119.2);
Tailwind
colors: {
  custom: {
    50: '#cedc87',
    500: '#b5cd52',
    950: '#000000',
  },
}
SCSS
$custom: #b5cd52;
$custom-light: #cedc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cd52",
  "rgb": {
    "r": 181,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 71.707,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80608,
    "c": 0.15045,
    "h": 119.2
  },
  "luminance": 0.54096
}

Semantic roles & 50–950 ramp

primary
#B5CD52
secondary
#4B3C87
accent
#49DE66
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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