#D9F562#D9F562

#D9F562 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.2% C 0.173 H 119.1°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#D9F562
RGBrgb(217, 245, 98)
HSLhsl(71, 88%, 67%)
HSVhsv(71, 60%, 96%)
CMYKcmyk(11.4%, 0%, 60%, 3.9%)
CIE-LABlab(92.10, -28.93, 65.86)
CIE-LCHlch(92.10, 71.93, 113.71°)
OKLaboklab(92.2% -0.0841 0.1514)
OKLCHoklch(92.2% 0.173 119.1)
XYZxyz(63.4733, 80.9388, 23.8318)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F562 #7E62F5
analogous
#F5C862 #D9F562 #8FF562
triadic
#D9F562 #62D9F5 #F562D9
tetradic
#D9F562 #62F5C8 #7E62F5 #F5628F
square
#D9F562 #62F5C8 #7E62F5 #F5628F
split-complementary
#D9F562 #628FF5 #C862F5
monochromatic
#AACF0D #CBF128 #D9F562 #E7F99C #F5FCD5

Accessibility & contrast

On white

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

On black

17.19
#D9F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F562
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F562#FFFFFF#000000##000000
##D9F5621.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f562;
/* rgb */ color: rgb(217, 245, 98);
/* oklch */ color: oklch(92.2% 0.173 119.1);
Tailwind
colors: {
  custom: {
    50: '#e8f894',
    500: '#d9f562',
    950: '#000000',
  },
}
SCSS
$custom: #d9f562;
$custom-light: #e8f894;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f562",
  "rgb": {
    "r": 217,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 71.429,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92197,
    "c": 0.17315,
    "h": 119.1
  },
  "luminance": 0.80938
}

Semantic roles & 50–950 ramp

primary
#D9F562
secondary
#4E30CB
accent
#01E52C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F562

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

Preview Lab → · Contrast checker → · Palette generator →

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