#D9F671#D9F671

#D9F671 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.6% C 0.162 H 119.9°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#D9F671
RGBrgb(217, 246, 113)
HSLhsl(73, 88%, 70%)
HSVhsv(73, 54%, 96%)
CMYKcmyk(11.8%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.51, -28.22, 59.88)
CIE-LCHlch(92.51, 66.19, 115.23°)
OKLaboklab(92.57% -0.0807 0.1402)
OKLCHoklch(92.57% 0.162 119.9)
XYZxyz(64.5524, 81.8557, 28.0186)
Luminance0.8186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F671 #8E71F6
analogous
#F6D171 #D9F671 #96F671
triadic
#D9F671 #71D9F6 #F671D9
tetradic
#D9F671 #71F6D1 #8E71F6 #F67196
square
#D9F671 #71F6D1 #8E71F6 #F67196
split-complementary
#D9F671 #7196F6 #D171F6
monochromatic
#B1DE0E #CAF237 #D9F671 #E8FAAB #F7FDE2

Accessibility & contrast

On white

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

On black

17.37
#D9F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F671
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F671#FFFFFF#000000##000000
##D9F6711.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#E3EBD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d9f671;
/* rgb */ color: rgb(217, 246, 113);
/* oklch */ color: oklch(92.6% 0.162 119.9);
Tailwind
colors: {
  custom: {
    50: '#e7f99d',
    500: '#d9f671',
    950: '#000000',
  },
}
SCSS
$custom: #d9f671;
$custom-light: #e7f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f671",
  "rgb": {
    "r": 217,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 73.083,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92568,
    "c": 0.16179,
    "h": 119.9
  },
  "luminance": 0.81856
}

Semantic roles & 50–950 ramp

primary
#D9F671
secondary
#5B3BD0
accent
#01E533
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9F671

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

Preview Lab → · Contrast checker → · Palette generator →

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