#D2F062#D2F062

#D2F062 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.170 H 120.0°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#D2F062
RGBrgb(210, 240, 98)
HSLhsl(73, 83%, 66%)
HSVhsv(73, 59%, 94%)
CMYKcmyk(12.5%, 0%, 59.2%, 5.9%)
CIE-LABlab(90.28, -29.31, 63.71)
CIE-LCHlch(90.28, 70.13, 114.70°)
OKLaboklab(90.61% -0.0847 0.147)
OKLCHoklch(90.61% 0.17 120)
XYZxyz(59.9438, 76.9039, 23.2389)
Luminance0.7690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F062 #8062F0
analogous
#F0C762 #D2F062 #8BF062
triadic
#D2F062 #62D2F0 #F062D2
tetradic
#D2F062 #62F0C7 #8062F0 #F0628B
square
#D2F062 #62F0C7 #8062F0 #F0628B
split-complementary
#D2F062 #628BF0 #C762F0
monochromatic
#9FC513 #C2EB2A #D2F062 #E2F59A #F2FBD2

Accessibility & contrast

On white

1.28
#D2F062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#D2F062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F062
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F062#FFFFFF#000000##000000
##D2F0621.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE352
Deuteranopia (green-blind)
#FAE46B
Tritanopia (blue-blind)
#DDE4D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d2f062;
/* rgb */ color: rgb(210, 240, 98);
/* oklch */ color: oklch(90.6% 0.170 120.0);
Tailwind
colors: {
  custom: {
    50: '#e2f594',
    500: '#d2f062',
    950: '#000000',
  },
}
SCSS
$custom: #d2f062;
$custom-light: #e2f594;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f062",
  "rgb": {
    "r": 210,
    "g": 240,
    "b": 98
  },
  "hsl": {
    "h": 72.676,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.90609,
    "c": 0.16963,
    "h": 120
  },
  "luminance": 0.76904
}

Semantic roles & 50–950 ramp

primary
#D2F062
secondary
#5234C2
accent
#07DF34
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F062

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

Preview Lab → · Contrast checker → · Palette generator →

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