#DAF562#DAF562

#DAF562 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.3% C 0.173 H 118.7°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#DAF562
RGBrgb(218, 245, 98)
HSLhsl(71, 88%, 67%)
HSVhsv(71, 60%, 96%)
CMYKcmyk(11%, 0%, 60%, 3.9%)
CIE-LABlab(92.17, -28.54, 65.95)
CIE-LCHlch(92.17, 71.86, 113.40°)
OKLaboklab(92.27% -0.083 0.1516)
OKLCHoklch(92.27% 0.173 118.7)
XYZxyz(63.7715, 81.0925, 23.8458)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF562 #7D62F5
analogous
#F5C662 #DAF562 #91F562
triadic
#DAF562 #62DAF5 #F562DA
tetradic
#DAF562 #62F5C6 #7D62F5 #F56291
square
#DAF562 #62F5C6 #7D62F5 #F56291
split-complementary
#DAF562 #6291F5 #C662F5
monochromatic
#ACCF0D #CCF128 #DAF562 #E8F99C #F5FCD5

Accessibility & contrast

On white

1.22
#DAF562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#DAF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF562
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF562#FFFFFF#000000##000000
##DAF5621.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#E6E9D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #daf562;
/* rgb */ color: rgb(218, 245, 98);
/* oklch */ color: oklch(92.3% 0.173 118.7);
Tailwind
colors: {
  custom: {
    50: '#e8f894',
    500: '#daf562',
    950: '#000000',
  },
}
SCSS
$custom: #daf562;
$custom-light: #e8f894;
$custom-dark: #000000;
JSON
{
  "hex": "#daf562",
  "rgb": {
    "r": 218,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 71.02,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.9227,
    "c": 0.17281,
    "h": 118.7
  },
  "luminance": 0.81092
}

Semantic roles & 50–950 ramp

primary
#DAF562
secondary
#4D30CB
accent
#01E52B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF562

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

Preview Lab → · Contrast checker → · Palette generator →

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