#D9EC5F#D9EC5F

#D9EC5F is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.2% C 0.165 H 116.3°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#D9EC5F
RGBrgb(217, 236, 95)
HSLhsl(68, 79%, 65%)
HSVhsv(68, 60%, 93%)
CMYKcmyk(8.1%, 0%, 59.7%, 7.5%)
CIE-LABlab(89.66, -24.90, 64.43)
CIE-LCHlch(89.66, 69.08, 111.13°)
OKLaboklab(90.23% -0.0731 0.148)
OKLCHoklch(90.23% 0.165 116.3)
XYZxyz(60.6775, 75.5696, 22.2142)
Luminance0.7557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC5F #725FEC
analogous
#ECB85F #D9EC5F #93EC5F
triadic
#D9EC5F #5FD9EC #EC5FD9
tetradic
#D9EC5F #5FECB8 #725FEC #EC5F93
square
#D9EC5F #5FECB8 #725FEC #EC5F93
split-complementary
#D9EC5F #5F93EC #B85FEC
monochromatic
#A4BA16 #CCE628 #D9EC5F #E6F296 #F3F9CC

Accessibility & contrast

On white

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

On black

16.11
#D9EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC5F
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC5F#FFFFFF#000000##000000
##D9EC5F1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE14F
Deuteranopia (green-blind)
#F9E268
Tritanopia (blue-blind)
#E5E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d9ec5f;
/* rgb */ color: rgb(217, 236, 95);
/* oklch */ color: oklch(90.2% 0.165 116.3);
Tailwind
colors: {
  custom: {
    50: '#e7f292',
    500: '#d9ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec5f;
$custom-light: #e7f292;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec5f",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 68.085,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90227,
    "c": 0.16505,
    "h": 116.3
  },
  "luminance": 0.75569
}

Semantic roles & 50–950 ramp

primary
#D9EC5F
secondary
#4736BA
accent
#0ADB27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D9EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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