#B5D151#B5D151

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

Color values

HEX#B5D151
RGBrgb(181, 209, 81)
HSLhsl(73, 58%, 57%)
HSVhsv(73, 61%, 82%)
CMYKcmyk(13.4%, 0%, 61.2%, 18%)
CIE-LABlab(79.62, -27.32, 58.65)
CIE-LCHlch(79.62, 64.70, 114.98°)
OKLaboklab(81.49% -0.0791 0.1347)
OKLCHoklch(81.49% 0.156 120.4)
XYZxyz(43.3423, 56.0189, 16.3124)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D151 #6D51D1
analogous
#D1AD51 #B5D151 #75D151
triadic
#B5D151 #51B5D1 #D151B5
tetradic
#B5D151 #51D1AD #6D51D1 #D15175
square
#B5D151 #51D1AD #6D51D1 #D15175
split-complementary
#B5D151 #5175D1 #AD51D1
monochromatic
#6F8523 #98B530 #B5D151 #CADE81 #DEEBB2

Accessibility & contrast

On white

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

On black

12.20
#B5D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D151
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D151#FFFFFF#000000##000000
##B5D1511.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5d151;
/* rgb */ color: rgb(181, 209, 81);
/* oklch */ color: oklch(81.5% 0.156 120.4);
Tailwind
colors: {
  custom: {
    50: '#cedf87',
    500: '#b5d151',
    950: '#000000',
  },
}
SCSS
$custom: #b5d151;
$custom-light: #cedf87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d151",
  "rgb": {
    "r": 181,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 73.125,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81495,
    "c": 0.15619,
    "h": 120.4
  },
  "luminance": 0.56019
}

Semantic roles & 50–950 ramp

primary
#B5D151
secondary
#4C3B8B
accent
#46E168
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5D151

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

Preview Lab → · Contrast checker → · Palette generator →

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