#D9EC52#D9EC52

#D9EC52 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.1% C 0.175 H 116.0°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#D9EC52
RGBrgb(217, 236, 82)
HSLhsl(67, 80%, 62%)
HSVhsv(67, 65%, 93%)
CMYKcmyk(8.1%, 0%, 65.3%, 7.5%)
CIE-LABlab(89.56, -25.75, 69.54)
CIE-LCHlch(89.56, 74.15, 110.32°)
OKLaboklab(90.11% -0.0767 0.157)
OKLCHoklch(90.11% 0.175 116)
XYZxyz(60.1351, 75.3527, 19.3576)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC52 #6552EC
analogous
#ECB252 #D9EC52 #8CEC52
triadic
#D9EC52 #52D9EC #EC52D9
tetradic
#D9EC52 #52ECB2 #6552EC #EC528C
square
#D9EC52 #52ECB2 #6552EC #EC528C
split-complementary
#D9EC52 #528CEC #B252EC
monochromatic
#9DB013 #CDE61B #D9EC52 #E5F289 #F1F8C0

Accessibility & contrast

On white

1.31
#D9EC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#D9EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC52
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC52#FFFFFF#000000##000000
##D9EC521.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE03C
Deuteranopia (green-blind)
#FAE25D
Tritanopia (blue-blind)
#E6DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec52;
/* rgb */ color: rgb(217, 236, 82);
/* oklch */ color: oklch(90.1% 0.175 116.0);
Tailwind
colors: {
  custom: {
    50: '#e8f28a',
    500: '#d9ec52',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec52;
$custom-light: #e8f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec52",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 67.403,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.90113,
    "c": 0.17476,
    "h": 116
  },
  "luminance": 0.75352
}

Semantic roles & 50–950 ramp

primary
#D9EC52
secondary
#4132B1
accent
#09DD23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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