#D2E045#D2E045

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

Color values

HEX#D2E045
RGBrgb(210, 224, 69)
HSLhsl(65, 71%, 57%)
HSVhsv(65, 69%, 88%)
CMYKcmyk(6.3%, 0%, 69.2%, 12.2%)
CIE-LABlab(85.73, -23.57, 70.32)
CIE-LCHlch(85.73, 74.17, 108.53°)
OKLaboklab(86.89% -0.0715 0.1569)
OKLCHoklch(86.89% 0.172 114.5)
XYZxyz(54.3097, 67.4436, 15.7860)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E045 #5345E0
analogous
#E0A045 #D2E045 #85E045
triadic
#D2E045 #45D2E0 #E045D2
tetradic
#D2E045 #45E0A0 #5345E0 #E04585
square
#D2E045 #45E0A0 #5345E0 #E04585
split-complementary
#D2E045 #4585E0 #A045E0
monochromatic
#879218 #B8C721 #D2E045 #DFE979 #EBF1AE

Accessibility & contrast

On white

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

On black

14.49
#D2E045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E045
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E045#FFFFFF#000000##000000
##D2E0451.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e045;
/* rgb */ color: rgb(210, 224, 69);
/* oklch */ color: oklch(86.9% 0.172 114.5);
Tailwind
colors: {
  custom: {
    50: '#e3e982',
    500: '#d2e045',
    950: '#000000',
  },
}
SCSS
$custom: #d2e045;
$custom-light: #e3e982;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e045",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 69
  },
  "hsl": {
    "h": 65.419,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86887,
    "c": 0.17238,
    "h": 114.5
  },
  "luminance": 0.67443
}

Semantic roles & 50–950 ramp

primary
#D2E045
secondary
#3B3297
accent
#3AEE4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E045

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

Preview Lab → · Contrast checker → · Palette generator →

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