#D9EC57#D9EC57

#D9EC57 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.2% C 0.171 H 116.1°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#D9EC57
RGBrgb(217, 236, 87)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 63%, 93%)
CMYKcmyk(8.1%, 0%, 63.1%, 7.5%)
CIE-LABlab(89.59, -25.44, 67.62)
CIE-LCHlch(89.59, 72.25, 110.62°)
OKLaboklab(90.15% -0.0754 0.1537)
OKLCHoklch(90.15% 0.171 116.1)
XYZxyz(60.3323, 75.4315, 20.3964)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC57 #6A57EC
analogous
#ECB457 #D9EC57 #8EEC57
triadic
#D9EC57 #57D9EC #EC57D9
tetradic
#D9EC57 #57ECB4 #6A57EC #EC578E
square
#D9EC57 #57ECB4 #6A57EC #EC578E
split-complementary
#D9EC57 #578EEC #B457EC
monochromatic
#A0B414 #CDE620 #D9EC57 #E5F28E #F2F8C5

Accessibility & contrast

On white

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

On black

16.09
#D9EC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC57
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC57#FFFFFF#000000##000000
##D9EC571.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ec57;
/* rgb */ color: rgb(217, 236, 87);
/* oklch */ color: oklch(90.2% 0.171 116.1);
Tailwind
colors: {
  custom: {
    50: '#e8f28d',
    500: '#d9ec57',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec57;
$custom-light: #e8f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec57",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 67.651,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90154,
    "c": 0.17118,
    "h": 116.1
  },
  "luminance": 0.75431
}

Semantic roles & 50–950 ramp

primary
#D9EC57
secondary
#4433B4
accent
#0ADC24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9EC57

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

Preview Lab → · Contrast checker → · Palette generator →

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