#D2E04A#D2E04A

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

Color values

HEX#D2E04A
RGBrgb(210, 224, 74)
HSLhsl(66, 71%, 58%)
HSVhsv(66, 67%, 88%)
CMYKcmyk(6.3%, 0%, 67%, 12.2%)
CIE-LABlab(85.76, -23.30, 68.52)
CIE-LCHlch(85.76, 72.38, 108.78°)
OKLaboklab(86.92% -0.0703 0.1538)
OKLCHoklch(86.92% 0.169 114.5)
XYZxyz(54.4715, 67.5083, 16.6382)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E04A #584AE0
analogous
#E0A34A #D2E04A #87E04A
triadic
#D2E04A #4AD2E0 #E04AD2
tetradic
#D2E04A #4AE0A3 #584AE0 #E04A87
square
#D2E04A #4AE0A3 #584AE0 #E04A87
split-complementary
#D2E04A #4A87E0 #A34AE0
monochromatic
#8A961A #BBCA23 #D2E04A #DFE97E #ECF2B3

Accessibility & contrast

On white

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

On black

14.50
#D2E04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E04A
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E04A#FFFFFF#000000##000000
##D2E04A1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e04a;
/* rgb */ color: rgb(210, 224, 74);
/* oklch */ color: oklch(86.9% 0.169 114.5);
Tailwind
colors: {
  custom: {
    50: '#e3e985',
    500: '#d2e04a',
    950: '#000000',
  },
}
SCSS
$custom: #d2e04a;
$custom-light: #e3e985;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e04a",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 65.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86923,
    "c": 0.16913,
    "h": 114.5
  },
  "luminance": 0.67507
}

Semantic roles & 50–950 ramp

primary
#D2E04A
secondary
#3E349A
accent
#3AEE4B
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E04A

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

Preview Lab → · Contrast checker → · Palette generator →

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