#B5D252#B5D252

#B5D252 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.157 H 120.8°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#B5D252
RGBrgb(181, 210, 82)
HSLhsl(74, 59%, 57%)
HSVhsv(74, 61%, 82%)
CMYKcmyk(13.8%, 0%, 61%, 17.6%)
CIE-LABlab(79.91, -27.72, 58.54)
CIE-LCHlch(79.91, 64.77, 115.34°)
OKLaboklab(81.73% -0.0802 0.1346)
OKLCHoklch(81.73% 0.157 120.8)
XYZxyz(43.6262, 56.5262, 16.5934)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D252 #6F52D2
analogous
#D2AF52 #B5D252 #75D252
triadic
#B5D252 #52B5D2 #D252B5
tetradic
#B5D252 #52D2AF #6F52D2 #D25275
square
#B5D252 #52D2AF #6F52D2 #D25275
split-complementary
#B5D252 #5275D2 #AF52D2
monochromatic
#708723 #98B730 #B5D252 #CADF83 #DFEBB3

Accessibility & contrast

On white

1.71
#B5D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#B5D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D252
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D252#FFFFFF#000000##000000
##B5D2521.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#BEC8B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b5d252;
/* rgb */ color: rgb(181, 210, 82);
/* oklch */ color: oklch(81.7% 0.157 120.8);
Tailwind
colors: {
  custom: {
    50: '#cedf88',
    500: '#b5d252',
    950: '#000000',
  },
}
SCSS
$custom: #b5d252;
$custom-light: #cedf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d252",
  "rgb": {
    "r": 181,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 73.594,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8173,
    "c": 0.15662,
    "h": 120.8
  },
  "luminance": 0.56526
}

Semantic roles & 50–950 ramp

primary
#B5D252
secondary
#4E3B8D
accent
#46E269
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5D252

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

Preview Lab → · Contrast checker → · Palette generator →

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