#DAFA96#DAFA96

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

Color values

HEX#DAFA96
RGBrgb(218, 250, 150)
HSLhsl(79, 91%, 78%)
HSVhsv(79, 40%, 98%)
CMYKcmyk(12.8%, 0%, 40%, 2%)
CIE-LABlab(94.09, -26.01, 44.53)
CIE-LCHlch(94.09, 51.57, 120.29°)
OKLaboklab(93.99% -0.0717 0.1088)
OKLCHoklch(93.99% 0.13 123.4)
XYZxyz(68.6038, 85.4784, 41.7330)
Luminance0.8548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA96 #B696FA
analogous
#FAE896 #DAFA96 #A8FA96
triadic
#DAFA96 #96DAFA #FA96DA
tetradic
#DAFA96 #96FAE8 #B696FA #FA96A8
square
#DAFA96 #96FAE8 #B696FA #FA96A8
split-complementary
#DAFA96 #96A8FA #E896FA
monochromatic
#B1F421 #C5F75C #DAFA96 #EFFDD0 #F5FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAFA96#FFFFFF#000000##000000
##DAFA961.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)
#FFEF8E
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#E1F1E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dafa96;
/* rgb */ color: rgb(218, 250, 150);
/* oklch */ color: oklch(94.0% 0.130 123.4);
Tailwind
colors: {
  custom: {
    50: '#e7fcb6',
    500: '#dafa96',
    950: '#000000',
  },
}
SCSS
$custom: #dafa96;
$custom-light: #e7fcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa96",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 79.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93993,
    "c": 0.13025,
    "h": 123.4
  },
  "luminance": 0.85479
}

Semantic roles & 50–950 ramp

primary
#DAFA96
secondary
#835ADA
accent
#00E649
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DAFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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