#D9F662#D9F662

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

Color values

HEX#D9F662
RGBrgb(217, 246, 98)
HSLhsl(72, 89%, 67%)
HSVhsv(72, 60%, 96%)
CMYKcmyk(11.8%, 0%, 60.2%, 3.5%)
CIE-LABlab(92.37, -29.39, 66.15)
CIE-LCHlch(92.37, 72.39, 113.96°)
OKLaboklab(92.41% -0.0854 0.152)
OKLCHoklch(92.41% 0.174 119.3)
XYZxyz(63.7766, 81.5454, 23.9329)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F662 #7F62F6
analogous
#F6C962 #D9F662 #8FF662
triadic
#D9F662 #62D9F6 #F662D9
tetradic
#D9F662 #62F6C9 #7F62F6 #F6628F
square
#D9F662 #62F6C9 #7F62F6 #F6628F
split-complementary
#D9F662 #628FF6 #C962F6
monochromatic
#ABD20C #CBF328 #D9F662 #E7F99C #F5FDD6

Accessibility & contrast

On white

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

On black

17.31
#D9F662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F662
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F662#FFFFFF#000000##000000
##D9F6621.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEA6C
Tritanopia (blue-blind)
#E4EAD7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d9f662;
/* rgb */ color: rgb(217, 246, 98);
/* oklch */ color: oklch(92.4% 0.174 119.3);
Tailwind
colors: {
  custom: {
    50: '#e8f994',
    500: '#d9f662',
    950: '#000000',
  },
}
SCSS
$custom: #d9f662;
$custom-light: #e8f994;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f662",
  "rgb": {
    "r": 217,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 71.757,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92414,
    "c": 0.17434,
    "h": 119.3
  },
  "luminance": 0.81545
}

Semantic roles & 50–950 ramp

primary
#D9F662
secondary
#4E2FCD
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F662

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

Preview Lab → · Contrast checker → · Palette generator →

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