#DAFE7C#DAFE7C

#DAFE7C is a very light, vivid yellow-green. Relative luminance 0.872; OKLCH L 94.5% C 0.162 H 122.4°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#DAFE7C
RGBrgb(218, 254, 124)
HSLhsl(77, 98%, 74%)
HSVhsv(77, 51%, 100%)
CMYKcmyk(14.2%, 0%, 51.2%, 0.4%)
CIE-LABlab(94.84, -30.59, 57.69)
CIE-LCHlch(94.84, 65.30, 117.93°)
OKLaboklab(94.49% -0.0864 0.1364)
OKLCHoklch(94.49% 0.162 122.4)
XYZxyz(67.9937, 87.2442, 32.3226)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE7C #A07CFE
analogous
#FEE17C #DAFE7C #99FE7C
triadic
#DAFE7C #7CDAFE #FE7CDA
tetradic
#DAFE7C #7CFEE1 #A07CFE #FE7C99
square
#DAFE7C #7CFEE1 #A07CFE #FE7C99
split-complementary
#DAFE7C #7C99FE #E17CFE
monochromatic
#B8FD03 #C9FE3F #DAFE7C #EBFEB9 #F6FFE1

Accessibility & contrast

On white

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

On black

18.45
#DAFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE7C
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE7C#FFFFFF#000000##000000
##DAFE7C1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF170
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#E3F3E1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dafe7c;
/* rgb */ color: rgb(218, 254, 124);
/* oklch */ color: oklch(94.5% 0.162 122.4);
Tailwind
colors: {
  custom: {
    50: '#e8fea5',
    500: '#dafe7c',
    950: '#000000',
  },
}
SCSS
$custom: #dafe7c;
$custom-light: #e8fea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe7c",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 76.615,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94494,
    "c": 0.16152,
    "h": 122.4
  },
  "luminance": 0.87244
}

Semantic roles & 50–950 ramp

primary
#DAFE7C
secondary
#6D42DC
accent
#00E640
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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