#D2F562#D2F562

#D2F562 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.7% C 0.176 H 121.3°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#D2F562
RGBrgb(210, 245, 98)
HSLhsl(74, 88%, 67%)
HSVhsv(74, 60%, 96%)
CMYKcmyk(14.3%, 0%, 60%, 3.9%)
CIE-LABlab(91.63, -31.63, 65.21)
CIE-LCHlch(91.63, 72.47, 115.88°)
OKLaboklab(91.7% -0.0912 0.1501)
OKLCHoklch(91.7% 0.176 121.3)
XYZxyz(61.4360, 79.8883, 23.7363)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F562 #8562F5
analogous
#F5CF62 #D2F562 #88F562
triadic
#D2F562 #62D2F5 #F562D2
tetradic
#D2F562 #62F5CF #8562F5 #F56288
square
#D2F562 #62F5CF #8562F5 #F56288
split-complementary
#D2F562 #6288F5 #CF62F5
monochromatic
#A1CF0D #C2F128 #D2F562 #E2F99C #F3FCD5

Accessibility & contrast

On white

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

On black

16.98
#D2F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F562
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F562#FFFFFF#000000##000000
##D2F5621.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f562;
/* rgb */ color: rgb(210, 245, 98);
/* oklch */ color: oklch(91.7% 0.176 121.3);
Tailwind
colors: {
  custom: {
    50: '#e3f894',
    500: '#d2f562',
    950: '#000000',
  },
}
SCSS
$custom: #d2f562;
$custom-light: #e3f894;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f562",
  "rgb": {
    "r": 210,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 74.286,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91701,
    "c": 0.17566,
    "h": 121.3
  },
  "luminance": 0.79888
}

Semantic roles & 50–950 ramp

primary
#D2F562
secondary
#5530CB
accent
#01E537
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D2F562

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

Preview Lab → · Contrast checker → · Palette generator →

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