#D4DC45#D4DC45

#D4DC45 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.2% C 0.168 H 112.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#D4DC45
RGBrgb(212, 220, 69)
HSLhsl(63, 68%, 57%)
HSVhsv(63, 69%, 86%)
CMYKcmyk(3.6%, 0%, 68.6%, 13.7%)
CIE-LABlab(84.80, -20.82, 69.46)
CIE-LCHlch(84.80, 72.51, 106.69°)
OKLaboklab(86.18% -0.0639 0.155)
OKLCHoklch(86.18% 0.168 112.4)
XYZxyz(53.8204, 65.6143, 15.4588)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC45 #4D45DC
analogous
#DC9945 #D4DC45 #89DC45
triadic
#D4DC45 #45D4DC #DC45D4
tetradic
#D4DC45 #45DC99 #4D45DC #DC4589
square
#D4DC45 #45DC99 #4D45DC #DC4589
split-complementary
#D4DC45 #4589DC #9945DC
monochromatic
#868C1A #B7C024 #D4DC45 #E0E679 #ECEFAC

Accessibility & contrast

On white

1.49
#D4DC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#D4DC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC45
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC45#FFFFFF#000000##000000
##D4DC451.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD22C
Deuteranopia (green-blind)
#EDD550
Tritanopia (blue-blind)
#E2CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc45;
/* rgb */ color: rgb(212, 220, 69);
/* oklch */ color: oklch(86.2% 0.168 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e682',
    500: '#d4dc45',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc45;
$custom-light: #e5e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc45",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 63.179,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.16763,
    "h": 112.4
  },
  "luminance": 0.65613
}

Semantic roles & 50–950 ramp

primary
#D4DC45
secondary
#383392
accent
#3DEB46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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