#D5DC42#D5DC42

#D5DC42 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.2% C 0.169 H 112.0°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#D5DC42
RGBrgb(213, 220, 66)
HSLhsl(63, 69%, 56%)
HSVhsv(63, 70%, 86%)
CMYKcmyk(3.2%, 0%, 70%, 13.7%)
CIE-LABlab(84.86, -20.56, 70.61)
CIE-LCHlch(84.86, 73.54, 106.24°)
OKLaboklab(86.24% -0.0635 0.1569)
OKLCHoklch(86.24% 0.169 112)
XYZxyz(54.0188, 65.7272, 14.9942)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC42 #4942DC
analogous
#DC9642 #D5DC42 #88DC42
triadic
#D5DC42 #42D5DC #DC42D5
tetradic
#D5DC42 #42DC96 #4942DC #DC4288
square
#D5DC42 #42DC96 #4942DC #DC4288
split-complementary
#D5DC42 #4288DC #9642DC
monochromatic
#858A1A #B7BE23 #D5DC42 #E0E676 #ECEFA9

Accessibility & contrast

On white

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

On black

14.15
#D5DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DC42
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DC42#FFFFFF#000000##000000
##D5DC421.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD227
Deuteranopia (green-blind)
#EDD64E
Tritanopia (blue-blind)
#E3CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d5dc42;
/* rgb */ color: rgb(213, 220, 66);
/* oklch */ color: oklch(86.2% 0.169 112.0);
Tailwind
colors: {
  custom: {
    50: '#e6e680',
    500: '#d5dc42',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc42;
$custom-light: #e6e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc42",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 62.727,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.86239,
    "c": 0.16926,
    "h": 112
  },
  "luminance": 0.65726
}

Semantic roles & 50–950 ramp

primary
#D5DC42
secondary
#373290
accent
#3CEC44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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