#D5DD40#D5DD40

#D5DD40 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.4% C 0.171 H 112.4°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D5DD40
RGBrgb(213, 221, 64)
HSLhsl(63, 70%, 56%)
HSVhsv(63, 71%, 87%)
CMYKcmyk(3.6%, 0%, 71%, 13.3%)
CIE-LABlab(85.11, -21.15, 71.56)
CIE-LCHlch(85.11, 74.62, 106.46°)
OKLaboklab(86.44% -0.0653 0.1585)
OKLCHoklch(86.44% 0.171 112.4)
XYZxyz(54.2241, 66.2305, 14.7768)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DD40 #4840DD
analogous
#DD9640 #D5DD40 #86DD40
triadic
#D5DD40 #40D5DD #DD40D5
tetradic
#D5DD40 #40DD96 #4840DD #DD4086
square
#D5DD40 #40DD96 #4840DD #DD4086
split-complementary
#D5DD40 #4086DD #9640DD
monochromatic
#848A19 #B6BE22 #D5DD40 #E0E674 #ECEFA8

Accessibility & contrast

On white

1.47
#D5DD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#D5DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DD40
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DD40#FFFFFF#000000##000000
##D5DD401.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5dd40;
/* rgb */ color: rgb(213, 221, 64);
/* oklch */ color: oklch(86.4% 0.171 112.4);
Tailwind
colors: {
  custom: {
    50: '#e6e77f',
    500: '#d5dd40',
    950: '#000000',
  },
}
SCSS
$custom: #d5dd40;
$custom-light: #e6e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dd40",
  "rgb": {
    "r": 213,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 63.057,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86441,
    "c": 0.17147,
    "h": 112.4
  },
  "luminance": 0.66229
}

Semantic roles & 50–950 ramp

primary
#D5DD40
secondary
#363190
accent
#3BED44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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