#DAFA87#DAFA87

#DAFA87 is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.8% C 0.146 H 122.0°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#DAFA87
RGBrgb(218, 250, 135)
HSLhsl(77, 92%, 75%)
HSVhsv(77, 46%, 98%)
CMYKcmyk(12.8%, 0%, 46%, 2%)
CIE-LABlab(93.89, -27.65, 51.47)
CIE-LCHlch(93.89, 58.42, 118.25°)
OKLaboklab(93.77% -0.0773 0.1236)
OKLCHoklch(93.77% 0.146 122)
XYZxyz(67.4724, 85.0258, 35.7740)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA87 #A787FA
analogous
#FAE187 #DAFA87 #A0FA87
triadic
#DAFA87 #87DAFA #FA87DA
tetradic
#DAFA87 #87FAE1 #A787FA #FA87A0
square
#DAFA87 #87FAE1 #A787FA #FA87A0
split-complementary
#DAFA87 #87A0FA #E187FA
monochromatic
#B6F511 #C8F84C #DAFA87 #ECFCC2 #F6FEE2

Accessibility & contrast

On white

1.17
#DAFA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#DAFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA87
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA87#FFFFFF#000000##000000
##DAFA871.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#E2F0DF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa87;
/* rgb */ color: rgb(218, 250, 135);
/* oklch */ color: oklch(93.8% 0.146 122.0);
Tailwind
colors: {
  custom: {
    50: '#e7fcac',
    500: '#dafa87',
    950: '#000000',
  },
}
SCSS
$custom: #dafa87;
$custom-light: #e7fcac;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa87",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 76.696,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93774,
    "c": 0.14575,
    "h": 122
  },
  "luminance": 0.85026
}

Semantic roles & 50–950 ramp

primary
#DAFA87
secondary
#744DD8
accent
#00E640
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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