#D9EC5C#D9EC5C

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

Color values

HEX#D9EC5C
RGBrgb(217, 236, 92)
HSLhsl(68, 79%, 64%)
HSVhsv(68, 61%, 93%)
CMYKcmyk(8.1%, 0%, 61%, 7.5%)
CIE-LABlab(89.63, -25.11, 65.65)
CIE-LCHlch(89.63, 70.29, 110.93°)
OKLaboklab(90.2% -0.074 0.1502)
OKLCHoklch(90.2% 0.167 116.2)
XYZxyz(60.5437, 75.5161, 21.5098)
Luminance0.7551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC5C #6F5CEC
analogous
#ECB75C #D9EC5C #91EC5C
triadic
#D9EC5C #5CD9EC #EC5CD9
tetradic
#D9EC5C #5CECB7 #6F5CEC #EC5C91
square
#D9EC5C #5CECB7 #6F5CEC #EC5C91
split-complementary
#D9EC5C #5C91EC #B75CEC
monochromatic
#A3B815 #CCE625 #D9EC5C #E6F293 #F3F9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9EC5C#FFFFFF#000000##000000
##D9EC5C1.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)
#FBE14B
Deuteranopia (green-blind)
#FAE266
Tritanopia (blue-blind)
#E6E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec5c;
/* rgb */ color: rgb(217, 236, 92);
/* oklch */ color: oklch(90.2% 0.167 116.2);
Tailwind
colors: {
  custom: {
    50: '#e8f290',
    500: '#d9ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec5c;
$custom-light: #e8f290;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec5c",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 67.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90199,
    "c": 0.16741,
    "h": 116.2
  },
  "luminance": 0.75515
}

Semantic roles & 50–950 ramp

primary
#D9EC5C
secondary
#4635B8
accent
#0ADB26
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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