#DAFC70#DAFC70

#DAFC70 is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 93.9% C 0.170 H 121.2°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#DAFC70
RGBrgb(218, 252, 112)
HSLhsl(75, 96%, 71%)
HSVhsv(75, 56%, 99%)
CMYKcmyk(13.5%, 0%, 55.6%, 1.2%)
CIE-LABlab(94.18, -30.71, 62.25)
CIE-LCHlch(94.18, 69.41, 116.26°)
OKLaboklab(93.93% -0.0878 0.1452)
OKLCHoklch(93.93% 0.17 121.2)
XYZxyz(66.6491, 85.6961, 28.3559)
Luminance0.8570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFC70 #9270FC
analogous
#FCD870 #DAFC70 #94FC70
triadic
#DAFC70 #70DAFC #FC70DA
tetradic
#DAFC70 #70FCD8 #9270FC #FC7094
square
#DAFC70 #70FCD8 #9270FC #FC7094
split-complementary
#DAFC70 #7094FC #D870FC
monochromatic
#B4ED05 #CAFB34 #DAFC70 #EAFDAC #F7FEE1

Accessibility & contrast

On white

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

On black

18.14
#DAFC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFC70
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFC70#FFFFFF#000000##000000
##DAFC701.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF62
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#E4F0DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafc70;
/* rgb */ color: rgb(218, 252, 112);
/* oklch */ color: oklch(93.9% 0.170 121.2);
Tailwind
colors: {
  custom: {
    50: '#e8fd9d',
    500: '#dafc70',
    950: '#000000',
  },
}
SCSS
$custom: #dafc70;
$custom-light: #e8fd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dafc70",
  "rgb": {
    "r": 218,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 74.571,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93925,
    "c": 0.16971,
    "h": 121.2
  },
  "luminance": 0.85696
}

Semantic roles & 50–950 ramp

primary
#DAFC70
secondary
#5F38D8
accent
#00E638
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFC70

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

Preview Lab → · Contrast checker → · Palette generator →

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