#D9F672#D9F672

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

Color values

HEX#D9F672
RGBrgb(217, 246, 114)
HSLhsl(73, 88%, 71%)
HSVhsv(73, 54%, 96%)
CMYKcmyk(11.8%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.52, -28.13, 59.44)
CIE-LCHlch(92.52, 65.77, 115.33°)
OKLaboklab(92.58% -0.0804 0.1394)
OKLCHoklch(92.58% 0.161 120)
XYZxyz(64.6090, 81.8784, 28.3168)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F672 #8F72F6
analogous
#F6D172 #D9F672 #97F672
triadic
#D9F672 #72D9F6 #F672D9
tetradic
#D9F672 #72F6D1 #8F72F6 #F67297
square
#D9F672 #72F6D1 #8F72F6 #F67297
split-complementary
#D9F672 #7297F6 #D172F6
monochromatic
#B1DF0E #C9F238 #D9F672 #E9FAAC #F7FDE2

Accessibility & contrast

On white

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

On black

17.38
#D9F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F672
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F672#FFFFFF#000000##000000
##D9F6721.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f672;
/* rgb */ color: rgb(217, 246, 114);
/* oklch */ color: oklch(92.6% 0.161 120.0);
Tailwind
colors: {
  custom: {
    50: '#e7f99e',
    500: '#d9f672',
    950: '#000000',
  },
}
SCSS
$custom: #d9f672;
$custom-light: #e7f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f672",
  "rgb": {
    "r": 217,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 73.182,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9258,
    "c": 0.1609,
    "h": 120
  },
  "luminance": 0.81878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9F672

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

Preview Lab → · Contrast checker → · Palette generator →

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