#D7DC5D#D7DC5D

#D7DC5D is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.6% C 0.149 H 111.2°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D7DC5D
RGBrgb(215, 220, 93)
HSLhsl(62, 64%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(2.3%, 0%, 57.7%, 13.7%)
CIE-LABlab(85.21, -18.11, 60.35)
CIE-LCHlch(85.21, 63.01, 106.70°)
OKLaboklab(86.63% -0.054 0.1391)
OKLCHoklch(86.63% 0.149 111.2)
XYZxyz(55.5948, 66.4250, 20.2465)
Luminance0.6642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC5D #625DDC
analogous
#DCA25D #D7DC5D #98DC5D
triadic
#D7DC5D #5DD7DC #DC5DD7
tetradic
#D7DC5D #5DDCA2 #625DDC #DC5D98
square
#D7DC5D #5DDCA2 #625DDC #DC5D98
split-complementary
#D7DC5D #5D98DC #A25DDC
monochromatic
#989D22 #C9CF2D #D7DC5D #E3E78F #F0F2C2

Accessibility & contrast

On white

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

On black

14.28
#D7DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC5D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC5D#FFFFFF#000000##000000
##D7DC5D1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34F
Deuteranopia (green-blind)
#ECD764
Tritanopia (blue-blind)
#E4D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc5d;
/* rgb */ color: rgb(215, 220, 93);
/* oklch */ color: oklch(86.6% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68f',
    500: '#d7dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc5d;
$custom-light: #e6e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc5d",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 62.362,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86626,
    "c": 0.14923,
    "h": 111.2
  },
  "luminance": 0.66424
}

Semantic roles & 50–950 ramp

primary
#D7DC5D
secondary
#413DA1
accent
#19CC20
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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