#D2EA40#D2EA40

#D2EA40 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.0% C 0.186 H 117.4°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#D2EA40
RGBrgb(210, 234, 64)
HSLhsl(68, 80%, 58%)
HSVhsv(68, 73%, 92%)
CMYKcmyk(10.3%, 0%, 72.6%, 8.2%)
CIE-LABlab(88.41, -28.57, 74.64)
CIE-LCHlch(88.41, 79.92, 110.94°)
OKLaboklab(89.03% -0.0858 0.1651)
OKLCHoklch(89.03% 0.186 117.4)
XYZxyz(56.9279, 72.9181, 15.9251)
Luminance0.7292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA40 #5840EA
analogous
#EAAD40 #D2EA40 #7DEA40
triadic
#D2EA40 #40D2EA #EA40D2
tetradic
#D2EA40 #40EAAD #5840EA #EA407D
square
#D2EA40 #40EAAD #5840EA #EA407D
split-complementary
#D2EA40 #407DEA #AD40EA
monochromatic
#8A9E11 #BBD517 #D2EA40 #DFF077 #ECF6AE

Accessibility & contrast

On white

1.35
#D2EA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#D2EA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA40
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA40#FFFFFF#000000##000000
##D2EA401.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADD1C
Deuteranopia (green-blind)
#F7DF4F
Tritanopia (blue-blind)
#DFDDCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d2ea40;
/* rgb */ color: rgb(210, 234, 64);
/* oklch */ color: oklch(89.0% 0.186 117.4);
Tailwind
colors: {
  custom: {
    50: '#e4f080',
    500: '#d2ea40',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea40;
$custom-light: #e4f080;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea40",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 64
  },
  "hsl": {
    "h": 68.471,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8903,
    "c": 0.18609,
    "h": 117.4
  },
  "luminance": 0.72917
}

Semantic roles & 50–950 ramp

primary
#D2EA40
secondary
#3E2DA1
accent
#31F74D
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #D2EA40

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

Preview Lab → · Contrast checker → · Palette generator →

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