#D5CD70#D5CD70

#D5CD70 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.116 H 104.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D5CD70
RGBrgb(213, 205, 112)
HSLhsl(55, 55%, 64%)
HSVhsv(55, 47%, 84%)
CMYKcmyk(0%, 3.8%, 47.4%, 16.5%)
CIE-LABlab(81.28, -9.86, 46.98)
CIE-LCHlch(81.28, 48.00, 101.85°)
OKLaboklab(83.52% -0.0284 0.1121)
OKLCHoklch(83.52% 0.116 104.2)
XYZxyz(52.1978, 58.9802, 23.9608)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD70 #7078D5
analogous
#D59A70 #D5CD70 #AAD570
triadic
#D5CD70 #70D5CD #CD70D5
tetradic
#D5CD70 #70D59A #7078D5 #D570AA
square
#D5CD70 #70D59A #7078D5 #D570AA
split-complementary
#D5CD70 #70AAD5 #9A70D5
monochromatic
#9D942E #C7BC41 #D5CD70 #E3DE9F #F1EECF

Accessibility & contrast

On white

1.64
#D5CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D5CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD70
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD70#FFFFFF#000000##000000
##D5CD701.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC768
Deuteranopia (green-blind)
#DECC74
Tritanopia (blue-blind)
#E2C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd70;
/* rgb */ color: rgb(213, 205, 112);
/* oklch */ color: oklch(83.5% 0.116 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc9b',
    500: '#d5cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd70;
$custom-light: #e4dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd70",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 55.248,
    "s": 54.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.11563,
    "h": 104.2
  },
  "luminance": 0.58979
}

Semantic roles & 50–950 ramp

primary
#D5CD70
secondary
#484FA1
accent
#30C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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