#DAFF40#DAFF40

#DAFF40 is a very light, highly saturated yellow-green. Relative luminance 0.868; OKLCH L 94.2% C 0.206 H 120.4°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#DAFF40
RGBrgb(218, 255, 64)
HSLhsl(72, 100%, 63%)
HSVhsv(72, 75%, 100%)
CMYKcmyk(14.5%, 0%, 74.9%, 0%)
CIE-LABlab(94.65, -35.08, 80.71)
CIE-LCHlch(94.65, 88.01, 113.49°)
OKLaboklab(94.19% -0.1041 0.1777)
OKLCHoklch(94.19% 0.206 120.4)
XYZxyz(65.6001, 86.7958, 18.1469)
Luminance0.8680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFF40 #6540FF
analogous
#FFC440 #DAFF40 #7BFF40
triadic
#DAFF40 #40DAFF #FF40DA
tetradic
#DAFF40 #40FFC4 #6540FF #FF407B
square
#DAFF40 #40FFC4 #6540FF #FF407B
split-complementary
#DAFF40 #407BFF #C440FF
monochromatic
#9FC500 #CEFF03 #DAFF40 #E6FF7D #F2FFBA

Accessibility & contrast

On white

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

On black

18.36
#DAFF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFF40
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFF40#FFFFFF#000000##000000
##DAFF401.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF00A
Deuteranopia (green-blind)
#FFF052
Tritanopia (blue-blind)
#E6F1DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #daff40;
/* rgb */ color: rgb(218, 255, 64);
/* oklch */ color: oklch(94.2% 0.206 120.4);
Tailwind
colors: {
  custom: {
    50: '#eaff83',
    500: '#daff40',
    950: '#000000',
  },
}
SCSS
$custom: #daff40;
$custom-light: #eaff83;
$custom-dark: #000000;
JSON
{
  "hex": "#daff40",
  "rgb": {
    "r": 218,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 71.623,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.94193,
    "c": 0.20599,
    "h": 120.4
  },
  "luminance": 0.86796
}

Semantic roles & 50–950 ramp

primary
#DAFF40
secondary
#4122C1
accent
#00E62C
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17180C
muted
#85867F

Preview Lab

Preview with #DAFF40

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

Preview Lab → · Contrast checker → · Palette generator →

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