#DAF97E#DAF97E

#DAF97E is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.153 H 121.1°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#DAF97E
RGBrgb(218, 249, 126)
HSLhsl(75, 91%, 74%)
HSVhsv(75, 49%, 98%)
CMYKcmyk(12.4%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.52, -28.07, 55.21)
CIE-LCHlch(93.52, 61.93, 116.95°)
OKLaboklab(93.44% -0.0792 0.1312)
OKLCHoklch(93.44% 0.153 121.1)
XYZxyz(66.5554, 84.1632, 32.4735)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF97E #9D7EF9
analogous
#F9DA7E #DAF97E #9CF97E
triadic
#DAF97E #7EDAF9 #F97EDA
tetradic
#DAF97E #7EF9DA #9D7EF9 #F97E9C
square
#DAF97E #7EF9DA #9D7EF9 #F97E9C
split-complementary
#DAF97E #7E9CF9 #DA7EF9
monochromatic
#B7F10B #C9F644 #DAF97E #EBFCB8 #F7FEE2

Accessibility & contrast

On white

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

On black

17.83
#DAF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF97E
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF97E#FFFFFF#000000##000000
##DAF97E1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFED85
Tritanopia (blue-blind)
#E3EEDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf97e;
/* rgb */ color: rgb(218, 249, 126);
/* oklch */ color: oklch(93.4% 0.153 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7fba6',
    500: '#daf97e',
    950: '#000000',
  },
}
SCSS
$custom: #daf97e;
$custom-light: #e7fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#daf97e",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 75.122,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93441,
    "c": 0.15324,
    "h": 121.1
  },
  "luminance": 0.84163
}

Semantic roles & 50–950 ramp

primary
#DAF97E
secondary
#6A45D6
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #DAF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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