#D9DD40#D9DD40

#D9DD40 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.8% C 0.171 H 110.9°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D9DD40
RGBrgb(217, 221, 64)
HSLhsl(62, 70%, 56%)
HSVhsv(62, 71%, 87%)
CMYKcmyk(1.8%, 0%, 71%, 13.3%)
CIE-LABlab(85.42, -19.50, 71.96)
CIE-LCHlch(85.42, 74.55, 105.16°)
OKLaboklab(86.76% -0.0609 0.1593)
OKLCHoklch(86.76% 0.171 110.9)
XYZxyz(55.3990, 66.8363, 14.8319)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DD40 #4440DD
analogous
#DD9340 #D9DD40 #8ADD40
triadic
#D9DD40 #40D9DD #DD40D9
tetradic
#D9DD40 #40DD93 #4440DD #DD408A
square
#D9DD40 #40DD93 #4440DD #DD408A
split-complementary
#D9DD40 #408ADD #9340DD
monochromatic
#878A19 #BABE22 #D9DD40 #E3E674 #EEEFA8

Accessibility & contrast

On white

1.46
#D9DD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#D9DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DD40
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DD40#FFFFFF#000000##000000
##D9DD401.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED323
Deuteranopia (green-blind)
#EFD74C
Tritanopia (blue-blind)
#E8CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dd40;
/* rgb */ color: rgb(217, 221, 64);
/* oklch */ color: oklch(86.8% 0.171 110.9);
Tailwind
colors: {
  custom: {
    50: '#e8e77f',
    500: '#d9dd40',
    950: '#000000',
  },
}
SCSS
$custom: #d9dd40;
$custom-light: #e8e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dd40",
  "rgb": {
    "r": 217,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 61.529,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86762,
    "c": 0.17052,
    "h": 110.9
  },
  "luminance": 0.66835
}

Semantic roles & 50–950 ramp

primary
#D9DD40
secondary
#343190
accent
#3BED40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #D9DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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