#D2FF40#D2FF40

#D2FF40 is a very light, highly saturated yellow-green. Relative luminance 0.856; OKLCH L 93.6% C 0.209 H 122.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#D2FF40
RGBrgb(210, 255, 64)
HSLhsl(74, 100%, 63%)
HSVhsv(74, 75%, 100%)
CMYKcmyk(17.6%, 0%, 74.9%, 0%)
CIE-LABlab(94.14, -38.17, 80.05)
CIE-LCHlch(94.14, 88.68, 115.49°)
OKLaboklab(93.65% -0.1122 0.1766)
OKLCHoklch(93.65% 0.209 122.4)
XYZxyz(63.2647, 85.5916, 18.0374)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FF40 #6D40FF
analogous
#FFCC40 #D2FF40 #73FF40
triadic
#D2FF40 #40D2FF #FF40D2
tetradic
#D2FF40 #40FFCC #6D40FF #FF4073
square
#D2FF40 #40FFCC #6D40FF #FF4073
split-complementary
#D2FF40 #4073FF #CC40FF
monochromatic
#96C500 #C4FF03 #D2FF40 #E0FF7D #EFFFBA

Accessibility & contrast

On white

1.16
#D2FF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#D2FF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FF40
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FF40#FFFFFF#000000##000000
##D2FF401.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF0B
Deuteranopia (green-blind)
#FFEE52
Tritanopia (blue-blind)
#DDF2DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d2ff40;
/* rgb */ color: rgb(210, 255, 64);
/* oklch */ color: oklch(93.6% 0.209 122.4);
Tailwind
colors: {
  custom: {
    50: '#e4ff83',
    500: '#d2ff40',
    950: '#000000',
  },
}
SCSS
$custom: #d2ff40;
$custom-light: #e4ff83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ff40",
  "rgb": {
    "r": 210,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 74.136,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.93647,
    "c": 0.20918,
    "h": 122.4
  },
  "luminance": 0.85592
}

Semantic roles & 50–950 ramp

primary
#D2FF40
secondary
#4822C1
accent
#00E636
background
#FFFFFC
surface
#FEFFF3
border
#D6D7CD
text
#16180C
muted
#85867F

Preview Lab

Preview with #D2FF40

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

Preview Lab → · Contrast checker → · Palette generator →

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