#D2EA42#D2EA42

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

Color values

HEX#D2EA42
RGBrgb(210, 234, 66)
HSLhsl(69, 80%, 59%)
HSVhsv(69, 72%, 92%)
CMYKcmyk(10.3%, 0%, 71.8%, 8.2%)
CIE-LABlab(88.42, -28.47, 73.99)
CIE-LCHlch(88.42, 79.28, 111.05°)
OKLaboklab(89.04% -0.0853 0.1641)
OKLCHoklch(89.04% 0.185 117.5)
XYZxyz(56.9859, 72.9413, 16.2303)
Luminance0.7294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EA42 #5A42EA
analogous
#EAAE42 #D2EA42 #7EEA42
triadic
#D2EA42 #42D2EA #EA42D2
tetradic
#D2EA42 #42EAAE #5A42EA #EA427E
square
#D2EA42 #42EAAE #5A42EA #EA427E
split-complementary
#D2EA42 #427EEA #AE42EA
monochromatic
#8CA012 #BCD718 #D2EA42 #DFF079 #ECF6B0

Accessibility & contrast

On white

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

On black

15.59
#D2EA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EA42
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EA42#FFFFFF#000000##000000
##D2EA421.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ea42;
/* rgb */ color: rgb(210, 234, 66);
/* oklch */ color: oklch(89.0% 0.185 117.5);
Tailwind
colors: {
  custom: {
    50: '#e4f081',
    500: '#d2ea42',
    950: '#000000',
  },
}
SCSS
$custom: #d2ea42;
$custom-light: #e4f081;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ea42",
  "rgb": {
    "r": 210,
    "g": 234,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.89042,
    "c": 0.18496,
    "h": 117.5
  },
  "luminance": 0.72941
}

Semantic roles & 50–950 ramp

primary
#D2EA42
secondary
#3E2EA2
accent
#31F64E
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #D2EA42

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

Preview Lab → · Contrast checker → · Palette generator →

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