#DAFE7B#DAFE7B

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

Color values

HEX#DAFE7B
RGBrgb(218, 254, 123)
HSLhsl(76, 98%, 74%)
HSVhsv(76, 52%, 100%)
CMYKcmyk(14.2%, 0%, 51.6%, 0.4%)
CIE-LABlab(94.83, -30.68, 58.13)
CIE-LCHlch(94.83, 65.73, 117.83°)
OKLaboklab(94.48% -0.0868 0.1373)
OKLCHoklch(94.48% 0.162 122.3)
XYZxyz(67.9308, 87.2190, 31.9913)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFE7B #9F7BFE
analogous
#FEE17B #DAFE7B #99FE7B
triadic
#DAFE7B #7BDAFE #FE7BDA
tetradic
#DAFE7B #7BFEE1 #9F7BFE #FE7B99
square
#DAFE7B #7BFEE1 #9F7BFE #FE7B99
split-complementary
#DAFE7B #7B99FE #E17BFE
monochromatic
#B8FD02 #C9FE3E #DAFE7B #EBFEB8 #F6FFE1

Accessibility & contrast

On white

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

On black

18.44
#DAFE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFE7B
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFE7B#FFFFFF#000000##000000
##DAFE7B1.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#E3F3E0
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dafe7b;
/* rgb */ color: rgb(218, 254, 123);
/* oklch */ color: oklch(94.5% 0.162 122.3);
Tailwind
colors: {
  custom: {
    50: '#e8fea4',
    500: '#dafe7b',
    950: '#000000',
  },
}
SCSS
$custom: #dafe7b;
$custom-light: #e8fea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dafe7b",
  "rgb": {
    "r": 218,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 76.489,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94482,
    "c": 0.16245,
    "h": 122.3
  },
  "luminance": 0.87219
}

Semantic roles & 50–950 ramp

primary
#DAFE7B
secondary
#6C41DC
accent
#00E63F
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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