#DAFA72#DAFA72

#DAFA72 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.5% C 0.166 H 120.7°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DAFA72
RGBrgb(218, 250, 114)
HSLhsl(74, 93%, 71%)
HSVhsv(74, 54%, 98%)
CMYKcmyk(12.8%, 0%, 54.4%, 2%)
CIE-LABlab(93.66, -29.62, 60.78)
CIE-LCHlch(93.66, 67.61, 115.98°)
OKLaboklab(93.51% -0.0846 0.1422)
OKLCHoklch(93.51% 0.166 120.7)
XYZxyz(66.1369, 84.4917, 28.7407)
Luminance0.8449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFA72 #9272FA
analogous
#FAD672 #DAFA72 #96FA72
triadic
#DAFA72 #72DAFA #FA72DA
tetradic
#DAFA72 #72FAD6 #9272FA #FA7296
square
#DAFA72 #72FAD6 #9272FA #FA7296
split-complementary
#DAFA72 #7296FA #D672FA
monochromatic
#B4E908 #CAF837 #DAFA72 #EAFCAD #F7FEE1

Accessibility & contrast

On white

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

On black

17.90
#DAFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFA72
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFA72#FFFFFF#000000##000000
##DAFA721.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#E4EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dafa72;
/* rgb */ color: rgb(218, 250, 114);
/* oklch */ color: oklch(93.5% 0.166 120.7);
Tailwind
colors: {
  custom: {
    50: '#e8fc9e',
    500: '#dafa72',
    950: '#000000',
  },
}
SCSS
$custom: #dafa72;
$custom-light: #e8fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dafa72",
  "rgb": {
    "r": 218,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 74.118,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93514,
    "c": 0.1655,
    "h": 120.7
  },
  "luminance": 0.84492
}

Semantic roles & 50–950 ramp

primary
#DAFA72
secondary
#5F3BD6
accent
#00E636
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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