#B7DF52#B7DF52

#B7DF52 is a very light, vivid yellow-green. Relative luminance 0.635; OKLCH L 84.8% C 0.172 H 123.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#B7DF52
RGBrgb(183, 223, 82)
HSLhsl(77, 69%, 60%)
HSVhsv(77, 63%, 87%)
CMYKcmyk(17.9%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.68, -33.04, 62.65)
CIE-LCHlch(83.68, 70.83, 117.80°)
OKLaboklab(84.8% -0.095 0.1432)
OKLCHoklch(84.8% 0.172 123.6)
XYZxyz(47.4395, 63.4515, 17.7291)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7DF52 #7A52DF
analogous
#DFC052 #B7DF52 #71DF52
triadic
#B7DF52 #52B7DF #DF52B7
tetradic
#B7DF52 #52DFC0 #7A52DF #DF5271
square
#B7DF52 #52DFC0 #7A52DF #DF5271
split-complementary
#B7DF52 #5271DF #C052DF
monochromatic
#769A1D #9ECE26 #B7DF52 #CCE986 #E2F2B9

Accessibility & contrast

On white

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

On black

13.69
#B7DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7DF52
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7DF52#FFFFFF#000000##000000
##B7DF521.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7df52;
/* rgb */ color: rgb(183, 223, 82);
/* oklch */ color: oklch(84.8% 0.172 123.6);
Tailwind
colors: {
  custom: {
    50: '#d0e989',
    500: '#b7df52',
    950: '#000000',
  },
}
SCSS
$custom: #b7df52;
$custom-light: #d0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#b7df52",
  "rgb": {
    "r": 183,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 77.021,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84799,
    "c": 0.17188,
    "h": 123.6
  },
  "luminance": 0.63452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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