#DAFF52#DAFF52

#DAFF52 is a very light, vivid yellow-green. Relative luminance 0.870; OKLCH L 94.3% C 0.196 H 120.8°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#DAFF52
RGBrgb(218, 255, 82)
HSLhsl(73, 100%, 66%)
HSVhsv(73, 68%, 100%)
CMYKcmyk(14.5%, 0%, 67.8%, 0%)
CIE-LABlab(94.75, -34.18, 74.86)
CIE-LCHlch(94.75, 82.30, 114.54°)
OKLaboklab(94.31% -0.1002 0.1682)
OKLCHoklch(94.31% 0.196 120.8)
XYZxyz(66.1975, 87.0347, 21.2930)
Luminance0.8703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFF52 #7752FF
analogous
#FFCD52 #DAFF52 #83FF52
triadic
#DAFF52 #52DAFF #FF52DA
tetradic
#DAFF52 #52FFCD #7752FF #FF5283
square
#DAFF52 #52FFCD #7752FF #FF5283
split-complementary
#DAFF52 #5283FF #CD52FF
monochromatic
#A9D700 #CDFF15 #DAFF52 #E7FF8F #F4FFCC

Accessibility & contrast

On white

1.14
#DAFF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#DAFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFF52
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFF52#FFFFFF#000000##000000
##DAFF521.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF037
Deuteranopia (green-blind)
#FFF060
Tritanopia (blue-blind)
#E6F2DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #daff52;
/* rgb */ color: rgb(218, 255, 82);
/* oklch */ color: oklch(94.3% 0.196 120.8);
Tailwind
colors: {
  custom: {
    50: '#e9ff8c',
    500: '#daff52',
    950: '#000000',
  },
}
SCSS
$custom: #daff52;
$custom-light: #e9ff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#daff52",
  "rgb": {
    "r": 218,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 72.832,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94307,
    "c": 0.19578,
    "h": 120.8
  },
  "luminance": 0.87035
}

Semantic roles & 50–950 ramp

primary
#DAFF52
secondary
#4925D0
accent
#00E631
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17180D
muted
#85867F

Preview Lab

Preview with #DAFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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