#DAFE72#DAFE72

#DAFE72 is a very light, vivid yellow-green. Relative luminance 0.870; OKLCH L 94.4% C 0.170 H 121.8°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#DAFE72
RGBrgb(218, 254, 114)
HSLhsl(75, 99%, 72%)
HSVhsv(75, 55%, 100%)
CMYKcmyk(14.2%, 0%, 55.1%, 0.4%)
CIE-LABlab(94.74, -31.47, 62.02)
CIE-LCHlch(94.74, 69.54, 116.91°)
OKLaboklab(94.38% -0.0898 0.1449)
OKLCHoklch(94.38% 0.17 121.8)
XYZxyz(67.3930, 87.0039, 29.1594)
Luminance0.8700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE72 #9672FE
analogous
#FEDC72 #DAFE72 #94FE72
triadic
#DAFE72 #72DAFE #FE72DA
tetradic
#DAFE72 #72FEDC #9672FE #FE7294
square
#DAFE72 #72FEDC #9672FE #FE7294
split-complementary
#DAFE72 #7294FE #DC72FE
monochromatic
#B6F402 #CAFE35 #DAFE72 #EAFEAF #F7FFE1

Accessibility & contrast

On white

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

On black

18.40
#DAFE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE72
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE72#FFFFFF#000000##000000
##DAFE721.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF164
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#E4F3DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dafe72;
/* rgb */ color: rgb(218, 254, 114);
/* oklch */ color: oklch(94.4% 0.170 121.8);
Tailwind
colors: {
  custom: {
    50: '#e8fe9f',
    500: '#dafe72',
    950: '#000000',
  },
}
SCSS
$custom: #dafe72;
$custom-light: #e8fe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe72",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 114
  },
  "hsl": {
    "h": 75.429,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94379,
    "c": 0.17046,
    "h": 121.8
  },
  "luminance": 0.87004
}

Semantic roles & 50–950 ramp

primary
#DAFE72
secondary
#6339DB
accent
#00E63B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFE72

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

Preview Lab → · Contrast checker → · Palette generator →

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