#D7CD56#D7CD56

#D7CD56 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.140 H 104.5°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D7CD56
RGBrgb(215, 205, 86)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 4.7%, 60%, 15.7%)
CIE-LABlab(81.17, -11.12, 58.94)
CIE-LCHlch(81.17, 59.98, 100.69°)
OKLaboklab(83.39% -0.035 0.1352)
OKLCHoklch(83.39% 0.14 104.5)
XYZxyz(51.5372, 58.7834, 17.4339)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD56 #5660D7
analogous
#D78D56 #D7CD56 #A1D756
triadic
#D7CD56 #56D7CD #CD56D7
tetradic
#D7CD56 #56D78D #5660D7 #D756A1
square
#D7CD56 #56D78D #5660D7 #D756A1
split-complementary
#D7CD56 #56A1D7 #8D56D7
monochromatic
#908822 #C2B62E #D7CD56 #E3DC87 #EEEAB9

Accessibility & contrast

On white

1.65
#D7CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D7CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD56
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD56#FFFFFF#000000##000000
##D7CD561.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC649
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd56;
/* rgb */ color: rgb(215, 205, 86);
/* oklch */ color: oklch(83.4% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc8a',
    500: '#d7cd56',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd56;
$custom-light: #e6dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd56",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 55.349,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.13965,
    "h": 104.5
  },
  "luminance": 0.58782
}

Semantic roles & 50–950 ramp

primary
#D7CD56
secondary
#3B4296
accent
#50E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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