#DAFA98#DAFA98

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

Color values

HEX#DAFA98
RGBrgb(218, 250, 152)
HSLhsl(80, 91%, 79%)
HSVhsv(80, 39%, 98%)
CMYKcmyk(12.8%, 0%, 39.2%, 2%)
CIE-LABlab(94.12, -25.78, 43.59)
CIE-LCHlch(94.12, 50.64, 120.60°)
OKLaboklab(94.03% -0.0709 0.1067)
OKLCHoklch(94.03% 0.128 123.6)
XYZxyz(68.7663, 85.5434, 42.5884)
Luminance0.8554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA98 #B898FA
analogous
#FAE998 #DAFA98 #A9FA98
triadic
#DAFA98 #98DAFA #FA98DA
tetradic
#DAFA98 #98FAE9 #B898FA #FA98A9
square
#DAFA98 #98FAE9 #B898FA #FA98A9
split-complementary
#DAFA98 #98A9FA #E998FA
monochromatic
#B0F423 #C5F75E #DAFA98 #EFFDD2 #F5FEE2

Accessibility & contrast

On white

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

On black

18.11
#DAFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA98
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA98#FFFFFF#000000##000000
##DAFA981.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dafa98;
/* rgb */ color: rgb(218, 250, 152);
/* oklch */ color: oklch(94.0% 0.128 123.6);
Tailwind
colors: {
  custom: {
    50: '#e6fcb7',
    500: '#dafa98',
    950: '#000000',
  },
}
SCSS
$custom: #dafa98;
$custom-light: #e6fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa98",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 79.592,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94025,
    "c": 0.12811,
    "h": 123.6
  },
  "luminance": 0.85544
}

Semantic roles & 50–950 ramp

primary
#DAFA98
secondary
#855CDB
accent
#00E64B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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