#D1F372#D1F372

#D1F372 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.4% C 0.160 H 121.9°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#D1F372
RGBrgb(209, 243, 114)
HSLhsl(76, 84%, 70%)
HSVhsv(76, 53%, 95%)
CMYKcmyk(14%, 0%, 53.1%, 4.7%)
CIE-LABlab(91.18, -29.78, 57.75)
CIE-LCHlch(91.18, 64.97, 117.28°)
OKLaboklab(91.36% -0.0845 0.1358)
OKLCHoklch(91.36% 0.16 121.9)
XYZxyz(61.3828, 78.8713, 27.9062)
Luminance0.7887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F372 #9472F3
analogous
#F3D572 #D1F372 #90F372
triadic
#D1F372 #72D1F3 #F372D1
tetradic
#D1F372 #72F3D5 #9472F3 #F37290
square
#D1F372 #72F3D5 #9472F3 #F37290
split-complementary
#D1F372 #7290F3 #D572F3
monochromatic
#A4D812 #BFEE3A #D1F372 #E3F8AA #F6FDE3

Accessibility & contrast

On white

1.25
#D1F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#D1F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F372
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F372#FFFFFF#000000##000000
##D1F3721.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE665
Deuteranopia (green-blind)
#FBE67A
Tritanopia (blue-blind)
#DAE8D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d1f372;
/* rgb */ color: rgb(209, 243, 114);
/* oklch */ color: oklch(91.4% 0.160 121.9);
Tailwind
colors: {
  custom: {
    50: '#e1f79e',
    500: '#d1f372',
    950: '#000000',
  },
}
SCSS
$custom: #d1f372;
$custom-light: #e1f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f372",
  "rgb": {
    "r": 209,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 75.814,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.91364,
    "c": 0.15998,
    "h": 121.9
  },
  "luminance": 0.78871
}

Semantic roles & 50–950 ramp

primary
#D1F372
secondary
#623CCD
accent
#05E13F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F372

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

Preview Lab → · Contrast checker → · Palette generator →

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