#DAFC7B#DAFC7B

#DAFC7B is a very light, vivid yellow-green. Relative luminance 0.860; OKLCH L 94.0% C 0.160 H 121.8°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#DAFC7B
RGBrgb(218, 252, 123)
HSLhsl(76, 96%, 74%)
HSVhsv(76, 51%, 99%)
CMYKcmyk(13.5%, 0%, 51.2%, 1.2%)
CIE-LABlab(94.29, -29.75, 57.49)
CIE-LCHlch(94.29, 64.74, 117.36°)
OKLaboklab(94.05% -0.0842 0.1359)
OKLCHoklch(94.05% 0.16 121.8)
XYZxyz(67.2994, 85.9563, 31.7808)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFC7B #9D7BFC
analogous
#FCDD7B #DAFC7B #99FC7B
triadic
#DAFC7B #7BDAFC #FC7BDA
tetradic
#DAFC7B #7BFCDD #9D7BFC #FC7B99
square
#DAFC7B #7BFCDD #9D7BFC #FC7B99
split-complementary
#DAFC7B #7B99FC #DD7BFC
monochromatic
#B7F706 #C9FB3F #DAFC7B #EBFDB7 #F7FEE1

Accessibility & contrast

On white

1.15
#DAFC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#DAFC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFC7B
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFC7B#FFFFFF#000000##000000
##DAFC7B1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#E3F1DF
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dafc7b;
/* rgb */ color: rgb(218, 252, 123);
/* oklch */ color: oklch(94.0% 0.160 121.8);
Tailwind
colors: {
  custom: {
    50: '#e7fda4',
    500: '#dafc7b',
    950: '#000000',
  },
}
SCSS
$custom: #dafc7b;
$custom-light: #e7fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#dafc7b",
  "rgb": {
    "r": 218,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 75.814,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9405,
    "c": 0.1599,
    "h": 121.8
  },
  "luminance": 0.85956
}

Semantic roles & 50–950 ramp

primary
#DAFC7B
secondary
#6A42D9
accent
#00E63C
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAFC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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