#D7CD70#D7CD70

#D7CD70 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.116 H 103.1°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D7CD70
RGBrgb(215, 205, 112)
HSLhsl(54, 56%, 64%)
HSVhsv(54, 48%, 84%)
CMYKcmyk(0%, 4.7%, 47.9%, 15.7%)
CIE-LABlab(81.45, -9.05, 47.22)
CIE-LCHlch(81.45, 48.08, 100.85°)
OKLaboklab(83.69% -0.0262 0.1126)
OKLCHoklch(83.69% 0.116 103.1)
XYZxyz(52.7816, 59.2812, 23.9882)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD70 #707AD7
analogous
#D79A70 #D7CD70 #AED770
triadic
#D7CD70 #70D7CD #CD70D7
tetradic
#D7CD70 #70D79A #707AD7 #D770AE
square
#D7CD70 #70D79A #707AD7 #D770AE
split-complementary
#D7CD70 #70AED7 #9A70D7
monochromatic
#A0952D #CABC40 #D7CD70 #E4DEA0 #F2EED0

Accessibility & contrast

On white

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

On black

12.86
#D7CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD70
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD70#FFFFFF#000000##000000
##D7CD701.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC768
Deuteranopia (green-blind)
#DFCD74
Tritanopia (blue-blind)
#E4C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd70;
/* rgb */ color: rgb(215, 205, 112);
/* oklch */ color: oklch(83.7% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#e5dc9b',
    500: '#d7cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd70;
$custom-light: #e5dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd70",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 54.175,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83692,
    "c": 0.1156,
    "h": 103.1
  },
  "luminance": 0.5928
}

Semantic roles & 50–950 ramp

primary
#D7CD70
secondary
#4750A4
accent
#31C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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