#B9DF52#B9DF52

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

Color values

HEX#B9DF52
RGBrgb(185, 223, 82)
HSLhsl(76, 69%, 60%)
HSVhsv(76, 63%, 87%)
CMYKcmyk(17%, 0%, 63.2%, 12.5%)
CIE-LABlab(83.81, -32.26, 62.83)
CIE-LCHlch(83.81, 70.62, 117.18°)
OKLaboklab(84.94% -0.093 0.1435)
OKLCHoklch(84.94% 0.171 122.9)
XYZxyz(47.9187, 63.6986, 17.7516)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9DF52 #7852DF
analogous
#DFBE52 #B9DF52 #73DF52
triadic
#B9DF52 #52B9DF #DF52B9
tetradic
#B9DF52 #52DFBE #7852DF #DF5273
square
#B9DF52 #52DFBE #7852DF #DF5273
split-complementary
#B9DF52 #5273DF #BE52DF
monochromatic
#789A1D #A1CE26 #B9DF52 #CEE986 #E3F2B9

Accessibility & contrast

On white

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

On black

13.74
#B9DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9DF52
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9DF52#FFFFFF#000000##000000
##B9DF521.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9df52;
/* rgb */ color: rgb(185, 223, 82);
/* oklch */ color: oklch(84.9% 0.171 122.9);
Tailwind
colors: {
  custom: {
    50: '#d1e989',
    500: '#b9df52',
    950: '#000000',
  },
}
SCSS
$custom: #b9df52;
$custom-light: #d1e989;
$custom-dark: #000000;
JSON
{
  "hex": "#b9df52",
  "rgb": {
    "r": 185,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 76.17,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84936,
    "c": 0.17104,
    "h": 122.9
  },
  "luminance": 0.63699
}

Semantic roles & 50–950 ramp

primary
#B9DF52
secondary
#53379E
accent
#3CEC6B
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B9DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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