#DAF78E#DAF78E

#DAF78E is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.2% C 0.135 H 121.7°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#DAF78E
RGBrgb(218, 247, 142)
HSLhsl(77, 87%, 76%)
HSVhsv(77, 43%, 97%)
CMYKcmyk(11.7%, 0%, 42.5%, 3.1%)
CIE-LABlab(93.18, -25.49, 47.25)
CIE-LCHlch(93.18, 53.69, 118.35°)
OKLaboklab(93.23% -0.0707 0.1146)
OKLCHoklch(93.23% 0.135 121.7)
XYZxyz(67.0567, 83.3799, 38.1472)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF78E #AB8EF7
analogous
#F7DF8E #DAF78E #A6F78E
triadic
#DAF78E #8EDAF7 #F78EDA
tetradic
#DAF78E #8EF7DF #AB8EF7 #F78EA6
square
#DAF78E #8EF7DF #AB8EF7 #F78EA6
split-complementary
#DAF78E #8EA6F7 #DF8EF7
monochromatic
#B5EF1C #C7F355 #DAF78E #EDFBC7 #F6FDE2

Accessibility & contrast

On white

1.19
#DAF78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#DAF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF78E
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF78E#FFFFFF#000000##000000
##DAF78E1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFEB93
Tritanopia (blue-blind)
#E2EDDE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf78e;
/* rgb */ color: rgb(218, 247, 142);
/* oklch */ color: oklch(93.2% 0.135 121.7);
Tailwind
colors: {
  custom: {
    50: '#e7f9b0',
    500: '#daf78e',
    950: '#000000',
  },
}
SCSS
$custom: #daf78e;
$custom-light: #e7f9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#daf78e",
  "rgb": {
    "r": 218,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 76.571,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93231,
    "c": 0.13461,
    "h": 121.7
  },
  "luminance": 0.8338
}

Semantic roles & 50–950 ramp

primary
#DAF78E
secondary
#7854D5
accent
#02E340
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161711
muted
#848581

Preview Lab

Preview with #DAF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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