#D9EC5A#D9EC5A

#D9EC5A is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.2% C 0.169 H 116.2°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#D9EC5A
RGBrgb(217, 236, 90)
HSLhsl(68, 79%, 64%)
HSVhsv(68, 62%, 93%)
CMYKcmyk(8.1%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.62, -25.25, 66.45)
CIE-LCHlch(89.62, 71.08, 110.80°)
OKLaboklab(90.18% -0.0745 0.1516)
OKLCHoklch(90.18% 0.169 116.2)
XYZxyz(60.4575, 75.4816, 21.0554)
Luminance0.7548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC5A #6D5AEC
analogous
#ECB65A #D9EC5A #90EC5A
triadic
#D9EC5A #5AD9EC #EC5AD9
tetradic
#D9EC5A #5AECB6 #6D5AEC #EC5A90
square
#D9EC5A #5AECB6 #6D5AEC #EC5A90
split-complementary
#D9EC5A #5A90EC #B65AEC
monochromatic
#A2B715 #CCE623 #D9EC5A #E6F291 #F2F9C8

Accessibility & contrast

On white

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

On black

16.10
#D9EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC5A
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC5A#FFFFFF#000000##000000
##D9EC5A1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#FAE264
Tritanopia (blue-blind)
#E6DFCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec5a;
/* rgb */ color: rgb(217, 236, 90);
/* oklch */ color: oklch(90.2% 0.169 116.2);
Tailwind
colors: {
  custom: {
    50: '#e8f28f',
    500: '#d9ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec5a;
$custom-light: #e8f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec5a",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 67.808,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90181,
    "c": 0.16893,
    "h": 116.2
  },
  "luminance": 0.75481
}

Semantic roles & 50–950 ramp

primary
#D9EC5A
secondary
#4534B6
accent
#0ADC25
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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