#D1E052#D1E052

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

Color values

HEX#D1E052
RGBrgb(209, 224, 82)
HSLhsl(66, 70%, 60%)
HSVhsv(66, 63%, 88%)
CMYKcmyk(6.7%, 0%, 63.4%, 12.2%)
CIE-LABlab(85.74, -23.23, 65.38)
CIE-LCHlch(85.74, 69.38, 109.56°)
OKLaboklab(86.91% -0.0692 0.1484)
OKLCHoklch(86.91% 0.164 115)
XYZxyz(54.4744, 67.4767, 18.1357)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E052 #6152E0
analogous
#E0A852 #D1E052 #8AE052
triadic
#D1E052 #52D1E0 #E052D1
tetradic
#D1E052 #52E0A8 #6152E0 #E0528A
square
#D1E052 #52E0A8 #6152E0 #E0528A
split-complementary
#D1E052 #528AE0 #A852E0
monochromatic
#8E9C1C #BED025 #D1E052 #DFE986 #EDF3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1E052#FFFFFF#000000##000000
##D1E0521.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)
#EFD53F
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#DED4C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d1e052;
/* rgb */ color: rgb(209, 224, 82);
/* oklch */ color: oklch(86.9% 0.164 115.0);
Tailwind
colors: {
  custom: {
    50: '#e2e989',
    500: '#d1e052',
    950: '#000000',
  },
}
SCSS
$custom: #d1e052;
$custom-light: #e2e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e052",
  "rgb": {
    "r": 209,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 66.338,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.86911,
    "c": 0.16377,
    "h": 115
  },
  "luminance": 0.67476
}

Semantic roles & 50–950 ramp

primary
#D1E052
secondary
#42379F
accent
#3BEC4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1E052

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

Preview Lab → · Contrast checker → · Palette generator →

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