#B5CA52#B5CA52

#B5CA52 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.147 H 118.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#B5CA52
RGBrgb(181, 202, 82)
HSLhsl(71, 53%, 56%)
HSVhsv(71, 59%, 79%)
CMYKcmyk(10.4%, 0%, 59.4%, 20.8%)
CIE-LABlab(77.68, -23.87, 56.09)
CIE-LCHlch(77.68, 60.96, 113.06°)
OKLaboklab(79.94% -0.0694 0.1294)
OKLCHoklch(79.94% 0.147 118.2)
XYZxyz(41.7002, 52.6743, 15.9514)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CA52 #6752CA
analogous
#CAA352 #B5CA52 #79CA52
triadic
#B5CA52 #52B5CA #CA52B5
tetradic
#B5CA52 #52CAA3 #6752CA #CA5279
square
#B5CA52 #52CAA3 #6752CA #CA5279
split-complementary
#B5CA52 #5279CA #A352CA
monochromatic
#6D7C26 #96AB34 #B5CA52 #C9D881 #DDE7B0

Accessibility & contrast

On white

1.82
#B5CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#B5CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CA52
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CA52#FFFFFF#000000##000000
##B5CA521.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#BFC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5ca52;
/* rgb */ color: rgb(181, 202, 82);
/* oklch */ color: oklch(79.9% 0.147 118.2);
Tailwind
colors: {
  custom: {
    50: '#ceda87',
    500: '#b5ca52',
    950: '#000000',
  },
}
SCSS
$custom: #b5ca52;
$custom-light: #ceda87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ca52",
  "rgb": {
    "r": 181,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 70.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.14679,
    "h": 118.2
  },
  "luminance": 0.52674
}

Semantic roles & 50–950 ramp

primary
#B5CA52
secondary
#493C84
accent
#4BDD65
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B5CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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