#D9EC54#D9EC54

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

Color values

HEX#D9EC54
RGBrgb(217, 236, 84)
HSLhsl(68, 80%, 63%)
HSVhsv(68, 64%, 93%)
CMYKcmyk(8.1%, 0%, 64.4%, 7.5%)
CIE-LABlab(89.57, -25.63, 68.78)
CIE-LCHlch(89.57, 73.40, 110.44°)
OKLaboklab(90.13% -0.0762 0.1557)
OKLCHoklch(90.13% 0.173 116.1)
XYZxyz(60.2123, 75.3835, 19.7643)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC54 #6754EC
analogous
#ECB354 #D9EC54 #8DEC54
triadic
#D9EC54 #54D9EC #EC54D9
tetradic
#D9EC54 #54ECB3 #6754EC #EC548D
square
#D9EC54 #54ECB3 #6754EC #EC548D
split-complementary
#D9EC54 #548DEC #B354EC
monochromatic
#9EB214 #CDE61D #D9EC54 #E5F28B #F1F8C2

Accessibility & contrast

On white

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

On black

16.08
#D9EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC54
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC54#FFFFFF#000000##000000
##D9EC541.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ec54;
/* rgb */ color: rgb(217, 236, 84);
/* oklch */ color: oklch(90.1% 0.173 116.1);
Tailwind
colors: {
  custom: {
    50: '#e8f28b',
    500: '#d9ec54',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec54;
$custom-light: #e8f28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec54",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 67.5,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90129,
    "c": 0.17335,
    "h": 116.1
  },
  "luminance": 0.75383
}

Semantic roles & 50–950 ramp

primary
#D9EC54
secondary
#4232B2
accent
#09DC24
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D9EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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