#D9CD70#D9CD70

#D9CD70 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.116 H 102.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D9CD70
RGBrgb(217, 205, 112)
HSLhsl(53, 58%, 65%)
HSVhsv(53, 48%, 85%)
CMYKcmyk(0%, 5.5%, 48.4%, 14.9%)
CIE-LABlab(81.61, -8.24, 47.46)
CIE-LCHlch(81.61, 48.17, 99.85°)
OKLaboklab(83.86% -0.024 0.1131)
OKLCHoklch(83.86% 0.116 102)
XYZxyz(53.3727, 59.5859, 24.0159)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD70 #707CD9
analogous
#D99970 #D9CD70 #B1D970
triadic
#D9CD70 #70D9CD #CD70D9
tetradic
#D9CD70 #70D999 #707CD9 #D970B1
square
#D9CD70 #70D999 #707CD9 #D970B1
split-complementary
#D9CD70 #70B1D9 #9970D9
monochromatic
#A3962B #CCBC40 #D9CD70 #E6DEA0 #F3EFD1

Accessibility & contrast

On white

1.63
#D9CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D9CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD70
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD70#FFFFFF#000000##000000
##D9CD701.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC868
Deuteranopia (green-blind)
#E0CD74
Tritanopia (blue-blind)
#E7C2B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd70;
/* rgb */ color: rgb(217, 205, 112);
/* oklch */ color: oklch(83.9% 0.116 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc9b',
    500: '#d9cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd70;
$custom-light: #e7dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd70",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 53.143,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83864,
    "c": 0.1156,
    "h": 102
  },
  "luminance": 0.59584
}

Semantic roles & 50–950 ramp

primary
#D9CD70
secondary
#4651A7
accent
#33C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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