#D2F342#D2F342

#D2F342 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.0% C 0.195 H 119.8°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#D2F342
RGBrgb(210, 243, 66)
HSLhsl(71, 88%, 61%)
HSVhsv(71, 73%, 95%)
CMYKcmyk(13.6%, 0%, 72.8%, 4.7%)
CIE-LABlab(90.87, -32.65, 76.34)
CIE-LCHlch(90.87, 83.03, 113.16°)
OKLaboklab(91.01% -0.0969 0.169)
OKLCHoklch(91.01% 0.195 119.8)
XYZxyz(59.6135, 78.1964, 17.1061)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F342 #6342F3
analogous
#F3BB42 #D2F342 #7AF342
triadic
#D2F342 #42D2F3 #F342D2
tetradic
#D2F342 #42F3BB #6342F3 #F3427A
square
#D2F342 #42F3BB #6342F3 #F3427A
split-complementary
#D2F342 #427AF3 #BB42F3
monochromatic
#91AF0B #C0E90F #D2F342 #E0F77C #EDFAB5

Accessibility & contrast

On white

1.26
#D2F342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#D2F342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F342
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F342#FFFFFF#000000##000000
##D2F3421.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE51C
Deuteranopia (green-blind)
#FFE552
Tritanopia (blue-blind)
#DEE6D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f342;
/* rgb */ color: rgb(210, 243, 66);
/* oklch */ color: oklch(91.0% 0.195 119.8);
Tailwind
colors: {
  custom: {
    50: '#e4f782',
    500: '#d2f342',
    950: '#000000',
  },
}
SCSS
$custom: #d2f342;
$custom-light: #e4f782;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f342",
  "rgb": {
    "r": 210,
    "g": 243,
    "b": 66
  },
  "hsl": {
    "h": 71.186,
    "s": 88.06,
    "l": 60.588
  },
  "oklch": {
    "l": 0.91014,
    "c": 0.19483,
    "h": 119.8
  },
  "luminance": 0.78196
}

Semantic roles & 50–950 ramp

primary
#D2F342
secondary
#432AB0
accent
#01E52B
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16170B
muted
#85857E

Preview Lab

Preview with #D2F342

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

Preview Lab → · Contrast checker → · Palette generator →

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