#B5D951#B5D951

#B5D951 is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.3% C 0.166 H 122.7°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#B5D951
RGBrgb(181, 217, 81)
HSLhsl(76, 64%, 58%)
HSVhsv(76, 63%, 85%)
CMYKcmyk(16.6%, 0%, 62.7%, 14.9%)
CIE-LABlab(81.86, -31.10, 61.07)
CIE-LCHlch(81.86, 68.53, 116.99°)
OKLaboklab(83.3% -0.0896 0.1398)
OKLCHoklch(83.3% 0.166 122.7)
XYZxyz(45.3545, 60.0434, 16.9831)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D951 #7551D9
analogous
#D9B951 #B5D951 #71D951
triadic
#B5D951 #51B5D9 #D951B5
tetradic
#B5D951 #51D9B9 #7551D9 #D95171
square
#B5D951 #51D9B9 #7551D9 #D95171
split-complementary
#B5D951 #5171D9 #B951D9
monochromatic
#72901F #9AC22A #B5D951 #CAE483 #E0EFB5

Accessibility & contrast

On white

1.61
#B5D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#B5D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D951
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D951#FFFFFF#000000##000000
##B5D9511.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#BECFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b5d951;
/* rgb */ color: rgb(181, 217, 81);
/* oklch */ color: oklch(83.3% 0.166 122.7);
Tailwind
colors: {
  custom: {
    50: '#cee488',
    500: '#b5d951',
    950: '#000000',
  },
}
SCSS
$custom: #b5d951;
$custom-light: #cee488;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d951",
  "rgb": {
    "r": 181,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 75.882,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83297,
    "c": 0.16605,
    "h": 122.7
  },
  "luminance": 0.60044
}

Semantic roles & 50–950 ramp

primary
#B5D951
secondary
#513995
accent
#41E76D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5D951

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

Preview Lab → · Contrast checker → · Palette generator →

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