#D1F674#D1F674

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

Color values

HEX#D1F674
RGBrgb(209, 246, 116)
HSLhsl(77, 88%, 71%)
HSVhsv(77, 53%, 96%)
CMYKcmyk(15%, 0%, 52.8%, 3.5%)
CIE-LABlab(92.01, -30.99, 57.82)
CIE-LCHlch(92.01, 65.60, 118.19°)
OKLaboklab(92.04% -0.0878 0.1362)
OKLCHoklch(92.04% 0.162 122.8)
XYZxyz(62.4029, 80.7276, 28.8141)
Luminance0.8073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F674 #9974F6
analogous
#F6DA74 #D1F674 #90F674
triadic
#D1F674 #74D1F6 #F674D1
tetradic
#D1F674 #74F6DA #9974F6 #F67490
square
#D1F674 #74F6DA #9974F6 #F67490
split-complementary
#D1F674 #7490F6 #DA74F6
monochromatic
#A5E10F #BEF23B #D1F674 #E4FAAD #F5FDE2

Accessibility & contrast

On white

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

On black

17.15
#D1F674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F674
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F674#FFFFFF#000000##000000
##D1F6741.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f674;
/* rgb */ color: rgb(209, 246, 116);
/* oklch */ color: oklch(92.0% 0.162 122.8);
Tailwind
colors: {
  custom: {
    50: '#e1f99f',
    500: '#d1f674',
    950: '#000000',
  },
}
SCSS
$custom: #d1f674;
$custom-light: #e1f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f674",
  "rgb": {
    "r": 209,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 77.077,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92041,
    "c": 0.16201,
    "h": 122.8
  },
  "luminance": 0.80728
}

Semantic roles & 50–950 ramp

primary
#D1F674
secondary
#673DD1
accent
#01E442
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F674

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

Preview Lab → · Contrast checker → · Palette generator →

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