#D7C565#D7C565

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

Color values

HEX#D7C565
RGBrgb(215, 197, 101)
HSLhsl(51, 59%, 62%)
HSVhsv(51, 53%, 84%)
CMYKcmyk(0%, 8.4%, 53%, 15.7%)
CIE-LABlab(79.23, -5.91, 49.86)
CIE-LCHlch(79.23, 50.21, 96.76°)
OKLaboklab(81.89% -0.0184 0.1174)
OKLCHoklch(81.89% 0.119 98.9)
XYZxyz(50.3412, 55.3211, 20.3357)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C565 #6577D7
analogous
#D78C65 #D7C565 #B0D765
triadic
#D7C565 #65D7C5 #C565D7
tetradic
#D7C565 #65D78C #6577D7 #D765B0
square
#D7C565 #65D78C #6577D7 #D765B0
split-complementary
#D7C565 #65B0D7 #8C65D7
monochromatic
#9A8828 #CAB335 #D7C565 #E4D796 #F0EAC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C565#FFFFFF#000000##000000
##D7C5651.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)
#D5C05C
Deuteranopia (green-blind)
#DAC769
Tritanopia (blue-blind)
#E5B9AF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c565;
/* rgb */ color: rgb(215, 197, 101);
/* oklch */ color: oklch(81.9% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d693',
    500: '#d7c565',
    950: '#000000',
  },
}
SCSS
$custom: #d7c565;
$custom-light: #e6d693;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c565",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 50.526,
    "s": 58.763,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81889,
    "c": 0.11884,
    "h": 98.9
  },
  "luminance": 0.55319
}

Semantic roles & 50–950 ramp

primary
#D7C565
secondary
#42519E
accent
#3AC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C565

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

Preview Lab → · Contrast checker → · Palette generator →

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