#DAF487#DAF487

#DAF487 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.5% C 0.138 H 120.2°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#DAF487
RGBrgb(218, 244, 135)
HSLhsl(74, 83%, 74%)
HSVhsv(74, 45%, 96%)
CMYKcmyk(10.7%, 0%, 44.7%, 4.3%)
CIE-LABlab(92.29, -24.82, 49.49)
CIE-LCHlch(92.29, 55.36, 116.63°)
OKLaboklab(92.49% -0.0693 0.1192)
OKLCHoklch(92.49% 0.138 120.2)
XYZxyz(65.6376, 81.3562, 35.1624)
Luminance0.8136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF487 #A187F4
analogous
#F4D887 #DAF487 #A4F487
triadic
#DAF487 #87DAF4 #F487DA
tetradic
#DAF487 #87F4D8 #A187F4 #F487A4
square
#DAF487 #87F4D8 #A187F4 #F487A4
split-complementary
#DAF487 #87A4F4 #D887F4
monochromatic
#B7EA17 #C9EF4F #DAF487 #EBF9BF #F6FCE3

Accessibility & contrast

On white

1.22
#DAF487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#DAF487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF487
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF487#FFFFFF#000000##000000
##DAF4871.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FDE98D
Tritanopia (blue-blind)
#E3EADA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf487;
/* rgb */ color: rgb(218, 244, 135);
/* oklch */ color: oklch(92.5% 0.138 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7f7ac',
    500: '#daf487',
    950: '#000000',
  },
}
SCSS
$custom: #daf487;
$custom-light: #e7f7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#daf487",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 74.312,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92488,
    "c": 0.13786,
    "h": 120.2
  },
  "luminance": 0.81356
}

Semantic roles & 50–950 ramp

primary
#DAF487
secondary
#6E4FD0
accent
#06E03A
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAF487

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

Preview Lab → · Contrast checker → · Palette generator →

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