#D1F562#D1F562

#D1F562 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.6% C 0.176 H 121.6°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#D1F562
RGBrgb(209, 245, 98)
HSLhsl(75, 88%, 67%)
HSVhsv(75, 60%, 96%)
CMYKcmyk(14.7%, 0%, 60%, 3.9%)
CIE-LABlab(91.57, -32.01, 65.12)
CIE-LCHlch(91.57, 72.56, 116.18°)
OKLaboklab(91.63% -0.0922 0.1499)
OKLCHoklch(91.63% 0.176 121.6)
XYZxyz(61.1522, 79.7419, 23.7230)
Luminance0.7974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F562 #8662F5
analogous
#F5D062 #D1F562 #88F562
triadic
#D1F562 #62D1F5 #F562D1
tetradic
#D1F562 #62F5D0 #8662F5 #F56288
square
#D1F562 #62F5D0 #8662F5 #F56288
split-complementary
#D1F562 #6288F5 #D062F5
monochromatic
#A0CF0D #C0F128 #D1F562 #E2F99C #F3FCD5

Accessibility & contrast

On white

1.24
#D1F562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#D1F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F562
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F562#FFFFFF#000000##000000
##D1F5621.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#DBE9D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d1f562;
/* rgb */ color: rgb(209, 245, 98);
/* oklch */ color: oklch(91.6% 0.176 121.6);
Tailwind
colors: {
  custom: {
    50: '#e2f894',
    500: '#d1f562',
    950: '#000000',
  },
}
SCSS
$custom: #d1f562;
$custom-light: #e2f894;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f562",
  "rgb": {
    "r": 209,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 74.694,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91631,
    "c": 0.17604,
    "h": 121.6
  },
  "luminance": 0.79742
}

Semantic roles & 50–950 ramp

primary
#D1F562
secondary
#5630CB
accent
#01E539
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D1F562

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

Preview Lab → · Contrast checker → · Palette generator →

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