#DAFA97#DAFA97

#DAFA97 is a very light, vivid yellow-green. Relative luminance 0.855; OKLCH L 94.0% C 0.129 H 123.5°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#DAFA97
RGBrgb(218, 250, 151)
HSLhsl(79, 91%, 79%)
HSVhsv(79, 40%, 98%)
CMYKcmyk(12.8%, 0%, 39.6%, 2%)
CIE-LABlab(94.10, -25.89, 44.06)
CIE-LCHlch(94.10, 51.11, 120.44°)
OKLaboklab(94.01% -0.0713 0.1077)
OKLCHoklch(94.01% 0.129 123.5)
XYZxyz(68.6847, 85.5108, 42.1589)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA97 #B797FA
analogous
#FAE897 #DAFA97 #A8FA97
triadic
#DAFA97 #97DAFA #FA97DA
tetradic
#DAFA97 #97FAE8 #B797FA #FA97A8
square
#DAFA97 #97FAE8 #B797FA #FA97A8
split-complementary
#DAFA97 #97A8FA #E897FA
monochromatic
#B0F422 #C5F75D #DAFA97 #EFFDD1 #F5FEE2

Accessibility & contrast

On white

1.16
#DAFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#DAFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA97
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA97#FFFFFF#000000##000000
##DAFA971.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#E1F1E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafa97;
/* rgb */ color: rgb(218, 250, 151);
/* oklch */ color: oklch(94.0% 0.129 123.5);
Tailwind
colors: {
  custom: {
    50: '#e7fcb7',
    500: '#dafa97',
    950: '#000000',
  },
}
SCSS
$custom: #dafa97;
$custom-light: #e7fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa97",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 79.394,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94009,
    "c": 0.12918,
    "h": 123.5
  },
  "luminance": 0.85511
}

Semantic roles & 50–950 ramp

primary
#DAFA97
secondary
#845BDA
accent
#00E64A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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