#D2E242#D2E242

#D2E242 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.3% C 0.176 H 115.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#D2E242
RGBrgb(210, 226, 66)
HSLhsl(66, 73%, 57%)
HSVhsv(66, 71%, 89%)
CMYKcmyk(7.1%, 0%, 70.8%, 11.4%)
CIE-LABlab(86.25, -24.69, 71.89)
CIE-LCHlch(86.25, 76.01, 108.95°)
OKLaboklab(87.3% -0.0748 0.1597)
OKLCHoklch(87.3% 0.176 115.1)
XYZxyz(54.7595, 68.4886, 15.4882)
Luminance0.6849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E242 #5242E2
analogous
#E2A242 #D2E242 #82E242
triadic
#D2E242 #42D2E2 #E242D2
tetradic
#D2E242 #42E2A2 #5242E2 #E24282
square
#D2E242 #42E2A2 #5242E2 #E24282
split-complementary
#D2E242 #4282E2 #A242E2
monochromatic
#879317 #B7C81F #D2E242 #DFEA77 #EBF2AC

Accessibility & contrast

On white

1.43
#D2E242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#D2E242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E242
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E242#FFFFFF#000000##000000
##D2E2421.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D725
Deuteranopia (green-blind)
#F1D94F
Tritanopia (blue-blind)
#DFD5C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e242;
/* rgb */ color: rgb(210, 226, 66);
/* oklch */ color: oklch(87.3% 0.176 115.1);
Tailwind
colors: {
  custom: {
    50: '#e3eb81',
    500: '#d2e242',
    950: '#000000',
  },
}
SCSS
$custom: #d2e242;
$custom-light: #e3eb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e242",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 66,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.873,
    "c": 0.17634,
    "h": 115.1
  },
  "luminance": 0.68488
}

Semantic roles & 50–950 ramp

primary
#D2E242
secondary
#3B3198
accent
#38F04A
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E242

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

Preview Lab → · Contrast checker → · Palette generator →

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