#B8DF52#B8DF52

#B8DF52 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.9% C 0.171 H 123.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#B8DF52
RGBrgb(184, 223, 82)
HSLhsl(77, 69%, 60%)
HSVhsv(77, 63%, 87%)
CMYKcmyk(17.5%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.74, -32.65, 62.74)
CIE-LCHlch(83.74, 70.72, 117.49°)
OKLaboklab(84.87% -0.094 0.1434)
OKLCHoklch(84.87% 0.171 123.3)
XYZxyz(47.6782, 63.5747, 17.7403)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8DF52 #7952DF
analogous
#DFC052 #B8DF52 #71DF52
triadic
#B8DF52 #52B8DF #DF52B8
tetradic
#B8DF52 #52DFC0 #7952DF #DF5271
square
#B8DF52 #52DFC0 #7952DF #DF5271
split-complementary
#B8DF52 #5271DF #C052DF
monochromatic
#779A1D #9FCE26 #B8DF52 #CDE986 #E2F2B9

Accessibility & contrast

On white

1.53
#B8DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#B8DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8DF52
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8DF52#FFFFFF#000000##000000
##B8DF521.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#C0D4C2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b8df52;
/* rgb */ color: rgb(184, 223, 82);
/* oklch */ color: oklch(84.9% 0.171 123.3);
Tailwind
colors: {
  custom: {
    50: '#d0e989',
    500: '#b8df52',
    950: '#000000',
  },
}
SCSS
$custom: #b8df52;
$custom-light: #d0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#b8df52",
  "rgb": {
    "r": 184,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 76.596,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84868,
    "c": 0.17145,
    "h": 123.3
  },
  "luminance": 0.63575
}

Semantic roles & 50–950 ramp

primary
#B8DF52
secondary
#54379E
accent
#3CEC6D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B8DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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