#DAFA8D#DAFA8D

#DAFA8D is a very light, vivid yellow-green. Relative luminance 0.852; OKLCH L 93.9% C 0.140 H 122.5°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#DAFA8D
RGBrgb(218, 250, 141)
HSLhsl(78, 92%, 77%)
HSVhsv(78, 44%, 98%)
CMYKcmyk(12.8%, 0%, 43.6%, 2%)
CIE-LABlab(93.97, -27.02, 48.71)
CIE-LCHlch(93.97, 55.70, 119.01°)
OKLaboklab(93.86% -0.0751 0.1178)
OKLCHoklch(93.86% 0.14 122.5)
XYZxyz(67.9068, 85.1996, 38.0618)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA8D #AD8DFA
analogous
#FAE48D #DAFA8D #A4FA8D
triadic
#DAFA8D #8DDAFA #FA8DDA
tetradic
#DAFA8D #8DFAE4 #AD8DFA #FA8DA4
square
#DAFA8D #8DFAE4 #AD8DFA #FA8DA4
split-complementary
#DAFA8D #8DA4FA #E48DFA
monochromatic
#B4F518 #C7F752 #DAFA8D #EDFDC8 #F5FEE2

Accessibility & contrast

On white

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

On black

18.04
#DAFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA8D
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA8D#FFFFFF#000000##000000
##DAFA8D1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE84
Deuteranopia (green-blind)
#FFEE93
Tritanopia (blue-blind)
#E2F0E0
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafa8d;
/* rgb */ color: rgb(218, 250, 141);
/* oklch */ color: oklch(93.9% 0.140 122.5);
Tailwind
colors: {
  custom: {
    50: '#e7fcb0',
    500: '#dafa8d',
    950: '#000000',
  },
}
SCSS
$custom: #dafa8d;
$custom-light: #e7fcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa8d",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 77.615,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93858,
    "c": 0.13968,
    "h": 122.5
  },
  "luminance": 0.852
}

Semantic roles & 50–950 ramp

primary
#DAFA8D
secondary
#7A52D9
accent
#00E643
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161711
muted
#848581

Preview Lab

Preview with #DAFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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