#D9ED52#D9ED52

#D9ED52 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.3% C 0.176 H 116.3°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#D9ED52
RGBrgb(217, 237, 82)
HSLhsl(68, 81%, 63%)
HSVhsv(68, 65%, 93%)
CMYKcmyk(8.4%, 0%, 65.4%, 7.1%)
CIE-LABlab(89.83, -26.22, 69.82)
CIE-LCHlch(89.83, 74.58, 110.59°)
OKLaboklab(90.33% -0.078 0.1576)
OKLCHoklch(90.33% 0.176 116.3)
XYZxyz(60.4238, 75.9301, 19.4539)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9ED52 #6652ED
analogous
#EDB452 #D9ED52 #8BED52
triadic
#D9ED52 #52D9ED #ED52D9
tetradic
#D9ED52 #52EDB4 #6652ED #ED528B
square
#D9ED52 #52EDB4 #6652ED #ED528B
split-complementary
#D9ED52 #528BED #B452ED
monochromatic
#9DB213 #CDE71B #D9ED52 #E5F389 #F1F9C1

Accessibility & contrast

On white

1.30
#D9ED52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#D9ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9ED52
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9ED52#FFFFFF#000000##000000
##D9ED521.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE13C
Deuteranopia (green-blind)
#FBE35D
Tritanopia (blue-blind)
#E6E0CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d9ed52;
/* rgb */ color: rgb(217, 237, 82);
/* oklch */ color: oklch(90.3% 0.176 116.3);
Tailwind
colors: {
  custom: {
    50: '#e8f28a',
    500: '#d9ed52',
    950: '#000000',
  },
}
SCSS
$custom: #d9ed52;
$custom-light: #e8f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ed52",
  "rgb": {
    "r": 217,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 67.742,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90329,
    "c": 0.17586,
    "h": 116.3
  },
  "luminance": 0.75929
}

Semantic roles & 50–950 ramp

primary
#D9ED52
secondary
#4231B2
accent
#08DE24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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