#D2E052#D2E052

#D2E052 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.164 H 114.6°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D2E052
RGBrgb(210, 224, 82)
HSLhsl(66, 70%, 60%)
HSVhsv(66, 63%, 88%)
CMYKcmyk(6.3%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.82, -22.82, 65.48)
CIE-LCHlch(85.82, 69.34, 109.22°)
OKLaboklab(86.99% -0.0681 0.1486)
OKLCHoklch(86.99% 0.164 114.6)
XYZxyz(54.7583, 67.6231, 18.1490)
Luminance0.6762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E052 #6052E0
analogous
#E0A752 #D2E052 #8BE052
triadic
#D2E052 #52D2E0 #E052D2
tetradic
#D2E052 #52E0A7 #6052E0 #E0528B
square
#D2E052 #52E0A7 #6052E0 #E0528B
split-complementary
#D2E052 #528BE0 #A752E0
monochromatic
#8F9C1C #BFD025 #D2E052 #E0E986 #EDF3BA

Accessibility & contrast

On white

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

On black

14.52
#D2E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E052
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E052#FFFFFF#000000##000000
##D2E0521.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53F
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#DFD4C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2e052;
/* rgb */ color: rgb(210, 224, 82);
/* oklch */ color: oklch(87.0% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#e3e989',
    500: '#d2e052',
    950: '#000000',
  },
}
SCSS
$custom: #d2e052;
$custom-light: #e3e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e052",
  "rgb": {
    "r": 210,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 65.915,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86988,
    "c": 0.1635,
    "h": 114.6
  },
  "luminance": 0.67622
}

Semantic roles & 50–950 ramp

primary
#D2E052
secondary
#41379F
accent
#3BEC4D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E052

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

Preview Lab → · Contrast checker → · Palette generator →

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