#D1F672#D1F672

#D1F672 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.0% C 0.164 H 122.7°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#D1F672
RGBrgb(209, 246, 114)
HSLhsl(77, 88%, 71%)
HSVhsv(77, 54%, 96%)
CMYKcmyk(15%, 0%, 53.7%, 3.5%)
CIE-LABlab(91.99, -31.17, 58.69)
CIE-LCHlch(91.99, 66.46, 117.97°)
OKLaboklab(92.02% -0.0884 0.1379)
OKLCHoklch(92.02% 0.164 122.7)
XYZxyz(62.2879, 80.6816, 28.2080)
Luminance0.8068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F672 #9772F6
analogous
#F6D972 #D1F672 #8FF672
triadic
#D1F672 #72D1F6 #F672D1
tetradic
#D1F672 #72F6D9 #9772F6 #F6728F
square
#D1F672 #72F6D9 #9772F6 #F6728F
split-complementary
#D1F672 #728FF6 #D972F6
monochromatic
#A5DF0E #BEF238 #D1F672 #E4FAAC #F6FDE2

Accessibility & contrast

On white

1.23
#D1F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#D1F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F672
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F672#FFFFFF#000000##000000
##D1F6721.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#DAEBD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d1f672;
/* rgb */ color: rgb(209, 246, 114);
/* oklch */ color: oklch(92.0% 0.164 122.7);
Tailwind
colors: {
  custom: {
    50: '#e1f99e',
    500: '#d1f672',
    950: '#000000',
  },
}
SCSS
$custom: #d1f672;
$custom-light: #e1f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f672",
  "rgb": {
    "r": 209,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 76.818,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92018,
    "c": 0.1638,
    "h": 122.7
  },
  "luminance": 0.80682
}

Semantic roles & 50–950 ramp

primary
#D1F672
secondary
#653CD1
accent
#01E541
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F672

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

Preview Lab → · Contrast checker → · Palette generator →

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