#D9EC51#D9EC51

#D9EC51 is a very light, vivid yellow. Relative luminance 0.753; 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#D9EC51
RGBrgb(217, 236, 81)
HSLhsl(67, 80%, 62%)
HSVhsv(67, 66%, 93%)
CMYKcmyk(8.1%, 0%, 65.7%, 7.5%)
CIE-LABlab(89.55, -25.81, 69.91)
CIE-LCHlch(89.55, 74.52, 110.26°)
OKLaboklab(90.11% -0.077 0.1577)
OKLCHoklch(90.11% 0.175 116)
XYZxyz(60.0973, 75.3375, 19.1587)
Luminance0.7534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC51 #6451EC
analogous
#ECB251 #D9EC51 #8BEC51
triadic
#D9EC51 #51D9EC #EC51D9
tetradic
#D9EC51 #51ECB2 #6451EC #EC518B
square
#D9EC51 #51ECB2 #6451EC #EC518B
split-complementary
#D9EC51 #518BEC #B251EC
monochromatic
#9CAF13 #CDE61A #D9EC51 #E5F288 #F1F8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9EC51#FFFFFF#000000##000000
##D9EC511.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)
#FCE03B
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#E6DFCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec51;
/* rgb */ color: rgb(217, 236, 81);
/* oklch */ color: oklch(90.1% 0.175 116.0);
Tailwind
colors: {
  custom: {
    50: '#e8f28a',
    500: '#d9ec51',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec51;
$custom-light: #e8f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec51",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 67.355,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90105,
    "c": 0.17545,
    "h": 116
  },
  "luminance": 0.75337
}

Semantic roles & 50–950 ramp

primary
#D9EC51
secondary
#4131B0
accent
#09DD23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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