#D7C563#D7C563

#D7C563 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.121 H 99.1°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D7C563
RGBrgb(215, 197, 99)
HSLhsl(51, 59%, 62%)
HSVhsv(51, 54%, 84%)
CMYKcmyk(0%, 8.4%, 54%, 15.7%)
CIE-LABlab(79.20, -6.08, 50.79)
CIE-LCHlch(79.20, 51.15, 96.82°)
OKLaboklab(81.86% -0.0191 0.1192)
OKLCHoklch(81.86% 0.121 99.1)
XYZxyz(50.2444, 55.2824, 19.8259)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C563 #6375D7
analogous
#D78B63 #D7C563 #AFD763
triadic
#D7C563 #63D7C5 #C563D7
tetradic
#D7C563 #63D78B #6375D7 #D763AF
square
#D7C563 #63D78B #6375D7 #D763AF
split-complementary
#D7C563 #63AFD7 #8B63D7
monochromatic
#988727 #C9B234 #D7C563 #E3D794 #F0E9C4

Accessibility & contrast

On white

1.74
#D7C563 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D7C563 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C563
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C563#FFFFFF#000000##000000
##D7C5631.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C05A
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#E6B9AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c563;
/* rgb */ color: rgb(215, 197, 99);
/* oklch */ color: oklch(81.9% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#e6d692',
    500: '#d7c563',
    950: '#000000',
  },
}
SCSS
$custom: #d7c563;
$custom-light: #e6d692;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c563",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 99
  },
  "hsl": {
    "h": 50.69,
    "s": 59.184,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81865,
    "c": 0.12075,
    "h": 99.1
  },
  "luminance": 0.5528
}

Semantic roles & 50–950 ramp

primary
#D7C563
secondary
#414F9D
accent
#39C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C563

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

Preview Lab → · Contrast checker → · Palette generator →

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