#D9C565#D9C565

#D9C565 is a very light, moderate yellow. Relative luminance 0.556; OKLCH L 82.1% C 0.119 H 97.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D9C565
RGBrgb(217, 197, 101)
HSLhsl(50, 60%, 62%)
HSVhsv(50, 53%, 85%)
CMYKcmyk(0%, 9.2%, 53.5%, 14.9%)
CIE-LABlab(79.40, -5.09, 50.11)
CIE-LCHlch(79.40, 50.37, 95.80°)
OKLaboklab(82.07% -0.0161 0.1179)
OKLCHoklch(82.07% 0.119 97.8)
XYZxyz(50.9323, 55.6259, 20.3634)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C565 #6579D9
analogous
#D98B65 #D9C565 #B3D965
triadic
#D9C565 #65D9C5 #C565D9
tetradic
#D9C565 #65D98B #6579D9 #D965B3
square
#D9C565 #65D98B #6579D9 #D965B3
split-complementary
#D9C565 #65B3D9 #8B65D9
monochromatic
#9D8927 #CDB334 #D9C565 #E5D796 #F1EAC7

Accessibility & contrast

On white

1.73
#D9C565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D9C565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C565
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C565#FFFFFF#000000##000000
##D9C5651.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15C
Deuteranopia (green-blind)
#DBC869
Tritanopia (blue-blind)
#E8B9AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c565;
/* rgb */ color: rgb(217, 197, 101);
/* oklch */ color: oklch(82.1% 0.119 97.8);
Tailwind
colors: {
  custom: {
    50: '#e7d693',
    500: '#d9c565',
    950: '#000000',
  },
}
SCSS
$custom: #d9c565;
$custom-light: #e7d693;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c565",
  "rgb": {
    "r": 217,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 49.655,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82069,
    "c": 0.11902,
    "h": 97.8
  },
  "luminance": 0.55624
}

Semantic roles & 50–950 ramp

primary
#D9C565
secondary
#4152A1
accent
#3BC81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C565

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

Preview Lab → · Contrast checker → · Palette generator →

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