#DAF572#DAF572

#DAF572 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.4% C 0.159 H 119.3°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#DAF572
RGBrgb(218, 245, 114)
HSLhsl(72, 87%, 70%)
HSVhsv(72, 53%, 96%)
CMYKcmyk(11%, 0%, 53.5%, 3.9%)
CIE-LABlab(92.32, -27.28, 59.23)
CIE-LCHlch(92.32, 65.21, 114.73°)
OKLaboklab(92.44% -0.078 0.1389)
OKLCHoklch(92.44% 0.159 119.3)
XYZxyz(64.6038, 81.4255, 28.2296)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF572 #8D72F5
analogous
#F5CE72 #DAF572 #99F572
triadic
#DAF572 #72DAF5 #F572DA
tetradic
#DAF572 #72F5CE #8D72F5 #F57299
square
#DAF572 #72F5CE #8D72F5 #F57299
split-complementary
#DAF572 #7299F5 #CE72F5
monochromatic
#B3DD10 #CBF139 #DAF572 #E9F9AB #F8FDE2

Accessibility & contrast

On white

1.21
#DAF572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#DAF572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF572
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF572#FFFFFF#000000##000000
##DAF5721.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#E5EAD8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf572;
/* rgb */ color: rgb(218, 245, 114);
/* oklch */ color: oklch(92.4% 0.159 119.3);
Tailwind
colors: {
  custom: {
    50: '#e8f89e',
    500: '#daf572',
    950: '#000000',
  },
}
SCSS
$custom: #daf572;
$custom-light: #e8f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf572",
  "rgb": {
    "r": 218,
    "g": 245,
    "b": 114
  },
  "hsl": {
    "h": 72.366,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92436,
    "c": 0.15932,
    "h": 119.3
  },
  "luminance": 0.81425
}

Semantic roles & 50–950 ramp

primary
#DAF572
secondary
#5A3CCF
accent
#02E331
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DAF572

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

Preview Lab → · Contrast checker → · Palette generator →

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