#DAF8A2#DAF8A2

#DAF8A2 is a very light, moderate yellow-green. Relative luminance 0.846; OKLCH L 93.8% C 0.114 H 124.2°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#DAF8A2
RGBrgb(218, 248, 162)
HSLhsl(81, 86%, 80%)
HSVhsv(81, 35%, 97%)
CMYKcmyk(12.1%, 0%, 34.7%, 2.7%)
CIE-LABlab(93.73, -23.60, 38.17)
CIE-LCHlch(93.73, 44.88, 121.73°)
OKLaboklab(93.76% -0.0643 0.0946)
OKLCHoklch(93.76% 0.114 124.2)
XYZxyz(69.0019, 84.6486, 46.8790)
Luminance0.8465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF8A2 #C0A2F8
analogous
#F8EBA2 #DAF8A2 #AFF8A2
triadic
#DAF8A2 #A2DAF8 #F8A2DA
tetradic
#DAF8A2 #A2F8EB #C0A2F8 #F8A2AF
square
#DAF8A2 #A2F8EB #C0A2F8 #F8A2AF
split-complementary
#DAF8A2 #A2AFF8 #EBA2F8
monochromatic
#ADEF30 #C3F469 #DAF8A2 #F1FCDB #F4FDE3

Accessibility & contrast

On white

1.17
#DAF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#DAF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF8A2
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF8A2#FFFFFF#000000##000000
##DAF8A21.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FDEDA6
Tritanopia (blue-blind)
#E0F0E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #daf8a2;
/* rgb */ color: rgb(218, 248, 162);
/* oklch */ color: oklch(93.8% 0.114 124.2);
Tailwind
colors: {
  custom: {
    50: '#e6fabe',
    500: '#daf8a2',
    950: '#000000',
  },
}
SCSS
$custom: #daf8a2;
$custom-light: #e6fabe;
$custom-dark: #000000;
JSON
{
  "hex": "#daf8a2",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 80.93,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.93764,
    "c": 0.11433,
    "h": 124.2
  },
  "luminance": 0.84649
}

Semantic roles & 50–950 ramp

primary
#DAF8A2
secondary
#8E65D9
accent
#03E351
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DAF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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