#D5DC45#D5DC45

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

Color values

HEX#D5DC45
RGBrgb(213, 220, 69)
HSLhsl(63, 68%, 57%)
HSVhsv(63, 69%, 86%)
CMYKcmyk(3.2%, 0%, 68.6%, 13.7%)
CIE-LABlab(84.88, -20.41, 69.56)
CIE-LCHlch(84.88, 72.49, 106.36°)
OKLaboklab(86.26% -0.0628 0.1552)
OKLCHoklch(86.26% 0.167 112)
XYZxyz(54.1096, 65.7635, 15.4723)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC45 #4C45DC
analogous
#DC9745 #D5DC45 #8ADC45
triadic
#D5DC45 #45D5DC #DC45D5
tetradic
#D5DC45 #45DC97 #4C45DC #DC458A
square
#D5DC45 #45DC97 #4C45DC #DC458A
split-complementary
#D5DC45 #458ADC #9745DC
monochromatic
#878C1A #B9C024 #D5DC45 #E1E679 #ECEFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DC45#FFFFFF#000000##000000
##D5DC451.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)
#ECD22C
Deuteranopia (green-blind)
#EDD650
Tritanopia (blue-blind)
#E3CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d5dc45;
/* rgb */ color: rgb(213, 220, 69);
/* oklch */ color: oklch(86.3% 0.167 112.0);
Tailwind
colors: {
  custom: {
    50: '#e5e682',
    500: '#d5dc45',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc45;
$custom-light: #e5e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc45",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 62.781,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8626,
    "c": 0.16739,
    "h": 112
  },
  "luminance": 0.65762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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