#DAF87C#DAF87C

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

Color values

HEX#DAF87C
RGBrgb(218, 248, 124)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.1%, 0%, 50%, 2.7%)
CIE-LABlab(93.23, -27.79, 55.78)
CIE-LCHlch(93.23, 62.32, 116.49°)
OKLaboklab(93.2% -0.0786 0.1323)
OKLCHoklch(93.2% 0.154 120.7)
XYZxyz(66.1194, 83.4956, 31.6979)
Luminance0.8349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF87C #9A7CF8
analogous
#F8D87C #DAF87C #9CF87C
triadic
#DAF87C #7CDAF8 #F87CDA
tetradic
#DAF87C #7CF8D8 #9A7CF8 #F87C9C
square
#DAF87C #7CF8D8 #9A7CF8 #F87C9C
split-complementary
#DAF87C #7C9CF8 #D87CF8
monochromatic
#B7ED0D #CAF542 #DAF87C #EAFBB6 #F7FDE2

Accessibility & contrast

On white

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

On black

17.70
#DAF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF87C
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF87C#FFFFFF#000000##000000
##DAF87C1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEC83
Tritanopia (blue-blind)
#E4EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #daf87c;
/* rgb */ color: rgb(218, 248, 124);
/* oklch */ color: oklch(93.2% 0.154 120.7);
Tailwind
colors: {
  custom: {
    50: '#e7faa5',
    500: '#daf87c',
    950: '#000000',
  },
}
SCSS
$custom: #daf87c;
$custom-light: #e7faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#daf87c",
  "rgb": {
    "r": 218,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 74.516,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93201,
    "c": 0.15386,
    "h": 120.7
  },
  "luminance": 0.83495
}

Semantic roles & 50–950 ramp

primary
#DAF87C
secondary
#6744D4
accent
#00E638
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #DAF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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