#D8CD70#D8CD70

#D8CD70 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.116 H 102.6°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D8CD70
RGBrgb(216, 205, 112)
HSLhsl(54, 57%, 64%)
HSVhsv(54, 48%, 85%)
CMYKcmyk(0%, 5.1%, 48.1%, 15.3%)
CIE-LABlab(81.53, -8.64, 47.34)
CIE-LCHlch(81.53, 48.12, 100.35°)
OKLaboklab(83.78% -0.0251 0.1128)
OKLCHoklch(83.78% 0.116 102.6)
XYZxyz(53.0763, 59.4331, 24.0020)
Luminance0.5943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD70 #707BD8
analogous
#D89970 #D8CD70 #AFD870
triadic
#D8CD70 #70D8CD #CD70D8
tetradic
#D8CD70 #70D899 #707BD8 #D870AF
square
#D8CD70 #70D899 #707BD8 #D870AF
split-complementary
#D8CD70 #70AFD8 #9970D8
monochromatic
#A2952C #CBBC40 #D8CD70 #E5DEA0 #F2EFD0

Accessibility & contrast

On white

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

On black

12.89
#D8CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD70
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD70#FFFFFF#000000##000000
##D8CD701.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd70;
/* rgb */ color: rgb(216, 205, 112);
/* oklch */ color: oklch(83.8% 0.116 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6dc9b',
    500: '#d8cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd70;
$custom-light: #e6dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd70",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 53.654,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83778,
    "c": 0.11559,
    "h": 102.6
  },
  "luminance": 0.59431
}

Semantic roles & 50–950 ramp

primary
#D8CD70
secondary
#4751A5
accent
#32C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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