#D9EC74#D9EC74

#D9EC74 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.5% C 0.147 H 116.9°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#D9EC74
RGBrgb(217, 236, 116)
HSLhsl(70, 76%, 69%)
HSVhsv(70, 51%, 93%)
CMYKcmyk(8.1%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.86, -23.22, 55.43)
CIE-LCHlch(89.86, 60.10, 112.73°)
OKLaboklab(90.45% -0.0663 0.1309)
OKLCHoklch(90.45% 0.147 116.9)
XYZxyz(61.7639, 76.0042, 27.9362)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9EC74 #8774EC
analogous
#ECC374 #D9EC74 #9DEC74
triadic
#D9EC74 #74D9EC #EC74D9
tetradic
#D9EC74 #74ECC3 #8774EC #EC749D
square
#D9EC74 #74ECC3 #8774EC #EC749D
split-complementary
#D9EC74 #749DEC #C374EC
monochromatic
#AECA1C #CAE53E #D9EC74 #E8F3AA #F6FBE0

Accessibility & contrast

On white

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

On black

16.20
#D9EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9EC74
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9EC74#FFFFFF#000000##000000
##D9EC741.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE169
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#E4E1D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d9ec74;
/* rgb */ color: rgb(217, 236, 116);
/* oklch */ color: oklch(90.5% 0.147 116.9);
Tailwind
colors: {
  custom: {
    50: '#e7f29f',
    500: '#d9ec74',
    950: '#000000',
  },
}
SCSS
$custom: #d9ec74;
$custom-light: #e7f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ec74",
  "rgb": {
    "r": 217,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 69.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90454,
    "c": 0.14673,
    "h": 116.9
  },
  "luminance": 0.76004
}

Semantic roles & 50–950 ramp

primary
#D9EC74
secondary
#5540C5
accent
#0DD82D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D9EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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