#DAFA8A#DAFA8A

#DAFA8A is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.8% C 0.143 H 122.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#DAFA8A
RGBrgb(218, 250, 138)
HSLhsl(77, 92%, 76%)
HSVhsv(77, 45%, 98%)
CMYKcmyk(12.8%, 0%, 44.8%, 2%)
CIE-LABlab(93.93, -27.34, 50.09)
CIE-LCHlch(93.93, 57.07, 118.62°)
OKLaboklab(93.82% -0.0762 0.1207)
OKLCHoklch(93.82% 0.143 122.3)
XYZxyz(67.6866, 85.1115, 36.9021)
Luminance0.8511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA8A #AA8AFA
analogous
#FAE28A #DAFA8A #A2FA8A
triadic
#DAFA8A #8ADAFA #FA8ADA
tetradic
#DAFA8A #8AFAE2 #AA8AFA #FA8AA2
square
#DAFA8A #8AFAE2 #AA8AFA #FA8AA2
split-complementary
#DAFA8A #8AA2FA #E28AFA
monochromatic
#B5F515 #C7F74F #DAFA8A #EDFDC5 #F6FEE2

Accessibility & contrast

On white

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

On black

18.02
#DAFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA8A
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA8A#FFFFFF#000000##000000
##DAFA8A1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE81
Deuteranopia (green-blind)
#FFEE90
Tritanopia (blue-blind)
#E2F0DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafa8a;
/* rgb */ color: rgb(218, 250, 138);
/* oklch */ color: oklch(93.8% 0.143 122.3);
Tailwind
colors: {
  custom: {
    50: '#e7fcae',
    500: '#dafa8a',
    950: '#000000',
  },
}
SCSS
$custom: #dafa8a;
$custom-light: #e7fcae;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa8a",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 77.143,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.93816,
    "c": 0.14274,
    "h": 122.3
  },
  "luminance": 0.85112
}

Semantic roles & 50–950 ramp

primary
#DAFA8A
secondary
#774FD9
accent
#00E642
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DAFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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