#DAF97A#DAF97A

#DAF97A is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.4% C 0.157 H 120.9°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#DAF97A
RGBrgb(218, 249, 122)
HSLhsl(75, 91%, 73%)
HSVhsv(75, 51%, 98%)
CMYKcmyk(12.4%, 0%, 51%, 2.4%)
CIE-LABlab(93.48, -28.45, 56.98)
CIE-LCHlch(93.48, 63.69, 116.53°)
OKLaboklab(93.39% -0.0806 0.1348)
OKLCHoklch(93.39% 0.157 120.9)
XYZxyz(66.3024, 84.0620, 31.1413)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF97A #997AF9
analogous
#F9D97A #DAF97A #9AF97A
triadic
#DAF97A #7ADAF9 #F97ADA
tetradic
#DAF97A #7AF9D9 #997AF9 #F97A9A
square
#DAF97A #7AF9D9 #997AF9 #F97A9A
split-complementary
#DAF97A #7A9AF9 #D97AF9
monochromatic
#B6EE0B #CAF63F #DAF97A #EAFCB5 #F7FEE2

Accessibility & contrast

On white

1.18
#DAF97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#DAF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF97A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF97A#FFFFFF#000000##000000
##DAF97A1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E4EEDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf97a;
/* rgb */ color: rgb(218, 249, 122);
/* oklch */ color: oklch(93.4% 0.157 120.9);
Tailwind
colors: {
  custom: {
    50: '#e7fba3',
    500: '#daf97a',
    950: '#000000',
  },
}
SCSS
$custom: #daf97a;
$custom-light: #e7fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#daf97a",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 74.646,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93391,
    "c": 0.15701,
    "h": 120.9
  },
  "luminance": 0.84062
}

Semantic roles & 50–950 ramp

primary
#DAF97A
secondary
#6642D5
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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