#D1E752#D1E752

#D1E752 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.4% C 0.172 H 117.2°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#D1E752
RGBrgb(209, 231, 82)
HSLhsl(69, 76%, 61%)
HSVhsv(69, 65%, 91%)
CMYKcmyk(9.5%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.64, -26.57, 67.37)
CIE-LCHlch(87.64, 72.42, 111.52°)
OKLaboklab(88.43% -0.0786 0.1526)
OKLCHoklch(88.43% 0.172 117.2)
XYZxyz(56.3946, 71.3170, 18.7757)
Luminance0.7132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E752 #6852E7
analogous
#E7B352 #D1E752 #87E752
triadic
#D1E752 #52D1E7 #E752D1
tetradic
#D1E752 #52E7B3 #6852E7 #E75287
square
#D1E752 #52E7B3 #6852E7 #E75287
split-complementary
#D1E752 #5287E7 #B352E7
monochromatic
#92A717 #C1DD1F #D1E752 #DFEE88 #EEF6BD

Accessibility & contrast

On white

1.38
#D1E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#D1E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E752
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E752#FFFFFF#000000##000000
##D1E7521.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F4DD5D
Tritanopia (blue-blind)
#DDDBC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d1e752;
/* rgb */ color: rgb(209, 231, 82);
/* oklch */ color: oklch(88.4% 0.172 117.2);
Tailwind
colors: {
  custom: {
    50: '#e2ee8a',
    500: '#d1e752',
    950: '#000000',
  },
}
SCSS
$custom: #d1e752;
$custom-light: #e2ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e752",
  "rgb": {
    "r": 209,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 68.859,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88431,
    "c": 0.17165,
    "h": 117.2
  },
  "luminance": 0.71316
}

Semantic roles & 50–950 ramp

primary
#D1E752
secondary
#4534A9
accent
#0ED82C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D1E752

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

Preview Lab → · Contrast checker → · Palette generator →

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