#D4DD40#D4DD40

#D4DD40 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.172 H 112.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D4DD40
RGBrgb(212, 221, 64)
HSLhsl(63, 70%, 56%)
HSVhsv(63, 71%, 87%)
CMYKcmyk(4.1%, 0%, 71%, 13.3%)
CIE-LABlab(85.04, -21.56, 71.46)
CIE-LCHlch(85.04, 74.64, 106.79°)
OKLaboklab(86.36% -0.0664 0.1584)
OKLCHoklch(86.36% 0.172 112.8)
XYZxyz(53.9349, 66.0813, 14.7633)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD40 #4940DD
analogous
#DD9740 #D4DD40 #86DD40
triadic
#D4DD40 #40D4DD #DD40D4
tetradic
#D4DD40 #40DD97 #4940DD #DD4086
square
#D4DD40 #40DD97 #4940DD #DD4086
split-complementary
#D4DD40 #4086DD #9740DD
monochromatic
#848A19 #B5BE22 #D4DD40 #E0E674 #EBEFA8

Accessibility & contrast

On white

1.48
#D4DD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#D4DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD40
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD40#FFFFFF#000000##000000
##D4DD401.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD323
Deuteranopia (green-blind)
#EED64C
Tritanopia (blue-blind)
#E2D0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dd40;
/* rgb */ color: rgb(212, 221, 64);
/* oklch */ color: oklch(86.4% 0.172 112.8);
Tailwind
colors: {
  custom: {
    50: '#e5e77f',
    500: '#d4dd40',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd40;
$custom-light: #e5e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd40",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 63.439,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86362,
    "c": 0.17173,
    "h": 112.8
  },
  "luminance": 0.6608
}

Semantic roles & 50–950 ramp

primary
#D4DD40
secondary
#373190
accent
#3BED45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D4DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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