#DAF87E#DAF87E

#DAF87E is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.152 H 120.8°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#DAF87E
RGBrgb(218, 248, 126)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 49%, 97%)
CMYKcmyk(12.1%, 0%, 49.2%, 2.7%)
CIE-LABlab(93.25, -27.60, 54.88)
CIE-LCHlch(93.25, 61.44, 116.70°)
OKLaboklab(93.23% -0.0779 0.1305)
OKLCHoklch(93.23% 0.152 120.8)
XYZxyz(66.2471, 83.5467, 32.3707)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87E #9C7EF8
analogous
#F8D97E #DAF87E #9DF87E
triadic
#DAF87E #7EDAF8 #F87EDA
tetradic
#DAF87E #7EF8D9 #9C7EF8 #F87E9D
square
#DAF87E #7EF8D9 #9C7EF8 #F87E9D
split-complementary
#DAF87E #7E9DF8 #D97EF8
monochromatic
#B7EF0D #C9F544 #DAF87E #EBFBB8 #F7FDE2

Accessibility & contrast

On white

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

On black

17.71
#DAF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87E#FFFFFF#000000##000000
##DAF87E1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#E3EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf87e;
/* rgb */ color: rgb(218, 248, 126);
/* oklch */ color: oklch(93.2% 0.152 120.8);
Tailwind
colors: {
  custom: {
    50: '#e7faa6',
    500: '#daf87e',
    950: '#000000',
  },
}
SCSS
$custom: #daf87e;
$custom-light: #e7faa6;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87e",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 74.754,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93226,
    "c": 0.15196,
    "h": 120.8
  },
  "luminance": 0.83547
}

Semantic roles & 50–950 ramp

primary
#DAF87E
secondary
#6946D5
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #DAF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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