#DAF87A#DAF87A

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

Color values

HEX#DAF87A
RGBrgb(218, 248, 122)
HSLhsl(74, 90%, 73%)
HSVhsv(74, 51%, 97%)
CMYKcmyk(12.1%, 0%, 50.8%, 2.7%)
CIE-LABlab(93.21, -27.98, 56.66)
CIE-LCHlch(93.21, 63.20, 116.28°)
OKLaboklab(93.18% -0.0793 0.1341)
OKLCHoklch(93.18% 0.156 120.6)
XYZxyz(65.9942, 83.4455, 31.0385)
Luminance0.8345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87A #987AF8
analogous
#F8D77A #DAF87A #9BF87A
triadic
#DAF87A #7ADAF8 #F87ADA
tetradic
#DAF87A #7AF8D7 #987AF8 #F87A9B
square
#DAF87A #7AF8D7 #987AF8 #F87A9B
split-complementary
#DAF87A #7A9BF8 #D77AF8
monochromatic
#B6EB0C #CAF540 #DAF87A #EAFBB4 #F7FDE2

Accessibility & contrast

On white

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

On black

17.69
#DAF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87A
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87A#FFFFFF#000000##000000
##DAF87A1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEC81
Tritanopia (blue-blind)
#E4EDDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf87a;
/* rgb */ color: rgb(218, 248, 122);
/* oklch */ color: oklch(93.2% 0.156 120.6);
Tailwind
colors: {
  custom: {
    50: '#e7faa3',
    500: '#daf87a',
    950: '#000000',
  },
}
SCSS
$custom: #daf87a;
$custom-light: #e7faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87a",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 74.286,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93176,
    "c": 0.15574,
    "h": 120.6
  },
  "luminance": 0.83445
}

Semantic roles & 50–950 ramp

primary
#DAF87A
secondary
#6542D4
accent
#00E637
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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