#D2E04D#D2E04D

#D2E04D is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.9% C 0.167 H 114.6°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#D2E04D
RGBrgb(210, 224, 77)
HSLhsl(66, 70%, 59%)
HSVhsv(66, 66%, 88%)
CMYKcmyk(6.3%, 0%, 65.6%, 12.2%)
CIE-LABlab(85.78, -23.13, 67.40)
CIE-LCHlch(85.78, 71.26, 108.94°)
OKLaboklab(86.95% -0.0695 0.152)
OKLCHoklch(86.95% 0.167 114.6)
XYZxyz(54.5749, 67.5497, 17.1832)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E04D #5B4DE0
analogous
#E0A54D #D2E04D #89E04D
triadic
#D2E04D #4DD2E0 #E04DD2
tetradic
#D2E04D #4DE0A5 #5B4DE0 #E04D89
square
#D2E04D #4DE0A5 #5B4DE0 #E04D89
split-complementary
#D2E04D #4D89E0 #A54DE0
monochromatic
#8C981A #BCCC24 #D2E04D #DFE981 #ECF2B5

Accessibility & contrast

On white

1.45
#D2E04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#D2E04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E04D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E04D#FFFFFF#000000##000000
##D2E04D1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D538
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2e04d;
/* rgb */ color: rgb(210, 224, 77);
/* oklch */ color: oklch(86.9% 0.167 114.6);
Tailwind
colors: {
  custom: {
    50: '#e3e986',
    500: '#d2e04d',
    950: '#000000',
  },
}
SCSS
$custom: #d2e04d;
$custom-light: #e3e986;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e04d",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 65.714,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86947,
    "c": 0.16709,
    "h": 114.6
  },
  "luminance": 0.67549
}

Semantic roles & 50–950 ramp

primary
#D2E04D
secondary
#3F359C
accent
#3BED4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E04D

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

Preview Lab → · Contrast checker → · Palette generator →

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