#B5D152#B5D152

#B5D152 is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.5% C 0.155 H 120.5°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#B5D152
RGBrgb(181, 209, 82)
HSLhsl(73, 58%, 57%)
HSVhsv(73, 61%, 82%)
CMYKcmyk(13.4%, 0%, 60.8%, 18%)
CIE-LABlab(79.63, -27.25, 58.23)
CIE-LCHlch(79.63, 64.29, 115.08°)
OKLaboklab(81.51% -0.0788 0.1339)
OKLCHoklch(81.51% 0.155 120.5)
XYZxyz(43.3801, 56.0340, 16.5113)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D152 #6E52D1
analogous
#D1AD52 #B5D152 #76D152
triadic
#B5D152 #52B5D1 #D152B5
tetradic
#B5D152 #52D1AD #6E52D1 #D15276
square
#B5D152 #52D1AD #6E52D1 #D15276
split-complementary
#B5D152 #5276D1 #AD52D1
monochromatic
#708523 #98B630 #B5D152 #CADE82 #DEEBB3

Accessibility & contrast

On white

1.72
#B5D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#B5D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D152
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D152#FFFFFF#000000##000000
##B5D1521.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#BEC7B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b5d152;
/* rgb */ color: rgb(181, 209, 82);
/* oklch */ color: oklch(81.5% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#cedf88',
    500: '#b5d152',
    950: '#000000',
  },
}
SCSS
$custom: #b5d152;
$custom-light: #cedf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d152",
  "rgb": {
    "r": 181,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 73.228,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81505,
    "c": 0.15538,
    "h": 120.5
  },
  "luminance": 0.56034
}

Semantic roles & 50–950 ramp

primary
#B5D152
secondary
#4D3B8C
accent
#47E169
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5D152

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

Preview Lab → · Contrast checker → · Palette generator →

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