#B5D852#B5D852

#B5D852 is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.1% C 0.164 H 122.5°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#B5D852
RGBrgb(181, 216, 82)
HSLhsl(76, 63%, 58%)
HSVhsv(76, 62%, 85%)
CMYKcmyk(16.2%, 0%, 62%, 15.3%)
CIE-LABlab(81.59, -30.56, 60.36)
CIE-LCHlch(81.59, 67.66, 116.85°)
OKLaboklab(83.08% -0.088 0.1384)
OKLCHoklch(83.08% 0.164 122.5)
XYZxyz(45.1354, 59.5446, 17.0964)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5D852 #7552D8
analogous
#D8B852 #B5D852 #72D852
triadic
#B5D852 #52B5D8 #D852B5
tetradic
#B5D852 #52D8B8 #7552D8 #D85272
square
#B5D852 #52D8B8 #7552D8 #D85272
split-complementary
#B5D852 #5272D8 #B852D8
monochromatic
#728F20 #9AC12C #B5D852 #CAE384 #E0EFB6

Accessibility & contrast

On white

1.63
#B5D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#B5D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5D852
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5D852#FFFFFF#000000##000000
##B5D8521.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#DFCB5B
Tritanopia (blue-blind)
#BECEBC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b5d852;
/* rgb */ color: rgb(181, 216, 82);
/* oklch */ color: oklch(83.1% 0.164 122.5);
Tailwind
colors: {
  custom: {
    50: '#cee488',
    500: '#b5d852',
    950: '#000000',
  },
}
SCSS
$custom: #b5d852;
$custom-light: #cee488;
$custom-dark: #000000;
JSON
{
  "hex": "#b5d852",
  "rgb": {
    "r": 181,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 75.672,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83081,
    "c": 0.16404,
    "h": 122.5
  },
  "luminance": 0.59545
}

Semantic roles & 50–950 ramp

primary
#B5D852
secondary
#513995
accent
#42E66D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5D852

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

Preview Lab → · Contrast checker → · Palette generator →

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