#D9E752#D9E752

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

Color values

HEX#D9E752
RGBrgb(217, 231, 82)
HSLhsl(66, 76%, 61%)
HSVhsv(66, 65%, 91%)
CMYKcmyk(6.1%, 0%, 64.5%, 9.4%)
CIE-LABlab(88.22, -23.37, 68.15)
CIE-LCHlch(88.22, 72.04, 108.93°)
OKLaboklab(89.04% -0.0701 0.1541)
OKLCHoklch(89.04% 0.169 114.5)
XYZxyz(58.7157, 72.5138, 18.8845)
Luminance0.7251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E752 #6052E7
analogous
#E7AB52 #D9E752 #8FE752
triadic
#D9E752 #52D9E7 #E752D9
tetradic
#D9E752 #52E7AB #6052E7 #E7528F
square
#D9E752 #52E7AB #6052E7 #E7528F
split-complementary
#D9E752 #528FE7 #AB52E7
monochromatic
#9AA717 #CBDD1F #D9E752 #E5EE88 #F1F6BD

Accessibility & contrast

On white

1.35
#D9E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#D9E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9E752
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9E752#FFFFFF#000000##000000
##D9E7521.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3E
Deuteranopia (green-blind)
#F6DF5C
Tritanopia (blue-blind)
#E6DAC9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d9e752;
/* rgb */ color: rgb(217, 231, 82);
/* oklch */ color: oklch(89.0% 0.169 114.5);
Tailwind
colors: {
  custom: {
    50: '#e8ee8a',
    500: '#d9e752',
    950: '#000000',
  },
}
SCSS
$custom: #d9e752;
$custom-light: #e8ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e752",
  "rgb": {
    "r": 217,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 65.638,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89037,
    "c": 0.16926,
    "h": 114.5
  },
  "luminance": 0.72513
}

Semantic roles & 50–950 ramp

primary
#D9E752
secondary
#3F34A9
accent
#0ED821
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9E752

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

Preview Lab → · Contrast checker → · Palette generator →

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