#DAFD51#DAFD51

#DAFD51 is a very light, vivid yellow-green. Relative luminance 0.858; OKLCH L 93.9% C 0.194 H 120.3°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#DAFD51
RGBrgb(218, 253, 81)
HSLhsl(72, 98%, 65%)
HSVhsv(72, 68%, 99%)
CMYKcmyk(13.8%, 0%, 68%, 0.8%)
CIE-LABlab(94.21, -33.32, 74.67)
CIE-LCHlch(94.21, 81.77, 114.05°)
OKLaboklab(93.86% -0.0979 0.1676)
OKLCHoklch(93.86% 0.194 120.3)
XYZxyz(65.5250, 85.7503, 20.8825)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFD51 #7451FD
analogous
#FDCA51 #DAFD51 #84FD51
triadic
#DAFD51 #51DAFD #FD51DA
tetradic
#DAFD51 #51FDCA #7451FD #FD5184
square
#DAFD51 #51FDCA #7451FD #FD5184
split-complementary
#DAFD51 #5184FD #CA51FD
monochromatic
#A7D102 #CDFC14 #DAFD51 #E7FE8E #F4FECA

Accessibility & contrast

On white

1.16
#DAFD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#DAFD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFD51
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFD51#FFFFFF#000000##000000
##DAFD511.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF36
Deuteranopia (green-blind)
#FFEF5F
Tritanopia (blue-blind)
#E6F0DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafd51;
/* rgb */ color: rgb(218, 253, 81);
/* oklch */ color: oklch(93.9% 0.194 120.3);
Tailwind
colors: {
  custom: {
    50: '#e9fe8b',
    500: '#dafd51',
    950: '#000000',
  },
}
SCSS
$custom: #dafd51;
$custom-light: #e9fe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dafd51",
  "rgb": {
    "r": 218,
    "g": 253,
    "b": 81
  },
  "hsl": {
    "h": 72.209,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93864,
    "c": 0.19414,
    "h": 120.3
  },
  "luminance": 0.8575
}

Semantic roles & 50–950 ramp

primary
#DAFD51
secondary
#4826CC
accent
#00E62F
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DAFD51

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

Preview Lab → · Contrast checker → · Palette generator →

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