#DAFD72#DAFD72

#DAFD72 is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.2% C 0.169 H 121.5°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#DAFD72
RGBrgb(218, 253, 114)
HSLhsl(75, 97%, 72%)
HSVhsv(75, 55%, 99%)
CMYKcmyk(13.8%, 0%, 54.9%, 0.8%)
CIE-LABlab(94.47, -31.01, 61.71)
CIE-LCHlch(94.47, 69.06, 116.68°)
OKLaboklab(94.16% -0.0885 0.1443)
OKLCHoklch(94.16% 0.169 121.5)
XYZxyz(67.0765, 86.3709, 29.0539)
Luminance0.8637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFD72 #9572FD
analogous
#FDDB72 #DAFD72 #95FD72
triadic
#DAFD72 #72DAFD #FD72DA
tetradic
#DAFD72 #72FDDB #9572FD #FD7295
square
#DAFD72 #72FDDB #9572FD #FD7295
split-complementary
#DAFD72 #7295FD #DB72FD
monochromatic
#B5F103 #CAFC36 #DAFD72 #EAFEAE #F7FFE1

Accessibility & contrast

On white

1.15
#DAFD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#DAFD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFD72
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFD72#FFFFFF#000000##000000
##DAFD721.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF064
Deuteranopia (green-blind)
#FFEF7B
Tritanopia (blue-blind)
#E4F2DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dafd72;
/* rgb */ color: rgb(218, 253, 114);
/* oklch */ color: oklch(94.2% 0.169 121.5);
Tailwind
colors: {
  custom: {
    50: '#e8fe9e',
    500: '#dafd72',
    950: '#000000',
  },
}
SCSS
$custom: #dafd72;
$custom-light: #e8fe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafd72",
  "rgb": {
    "r": 218,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 75.108,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94163,
    "c": 0.16922,
    "h": 121.5
  },
  "luminance": 0.86371
}

Semantic roles & 50–950 ramp

primary
#DAFD72
secondary
#623AD9
accent
#00E63A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFD72

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

Preview Lab → · Contrast checker → · Palette generator →

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