#D2E342#D2E342

#D2E342 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.5% C 0.177 H 115.4°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D2E342
RGBrgb(210, 227, 66)
HSLhsl(66, 74%, 57%)
HSVhsv(66, 71%, 89%)
CMYKcmyk(7.5%, 0%, 70.9%, 11%)
CIE-LABlab(86.52, -25.16, 72.15)
CIE-LCHlch(86.52, 76.42, 109.23°)
OKLaboklab(87.52% -0.0762 0.1602)
OKLCHoklch(87.52% 0.177 115.4)
XYZxyz(55.0323, 69.0340, 15.5791)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E342 #5342E3
analogous
#E3A342 #D2E342 #82E342
triadic
#D2E342 #42D2E3 #E342D2
tetradic
#D2E342 #42E3A3 #5342E3 #E34282
square
#D2E342 #42E3A3 #5342E3 #E34282
split-complementary
#D2E342 #4282E3 #A342E3
monochromatic
#879516 #B8CA1E #D2E342 #DFEB77 #EBF3AD

Accessibility & contrast

On white

1.42
#D2E342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#D2E342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E342
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E342#FFFFFF#000000##000000
##D2E3421.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D824
Deuteranopia (green-blind)
#F2DA4F
Tritanopia (blue-blind)
#DFD6C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d2e342;
/* rgb */ color: rgb(210, 227, 66);
/* oklch */ color: oklch(87.5% 0.177 115.4);
Tailwind
colors: {
  custom: {
    50: '#e3eb81',
    500: '#d2e342',
    950: '#000000',
  },
}
SCSS
$custom: #d2e342;
$custom-light: #e3eb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e342",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 66
  },
  "hsl": {
    "h": 66.335,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87517,
    "c": 0.1774,
    "h": 115.4
  },
  "luminance": 0.69033
}

Semantic roles & 50–950 ramp

primary
#D2E342
secondary
#3B3099
accent
#37F14B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E342

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

Preview Lab → · Contrast checker → · Palette generator →

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