#D1CD70#D1CD70

#D1CD70 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.116 H 106.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D1CD70
RGBrgb(209, 205, 112)
HSLhsl(58, 51%, 63%)
HSVhsv(58, 46%, 82%)
CMYKcmyk(0%, 1.9%, 46.4%, 18%)
CIE-LABlab(80.95, -11.47, 46.51)
CIE-LCHlch(80.95, 47.90, 103.86°)
OKLaboklab(83.18% -0.0329 0.1111)
OKLCHoklch(83.18% 0.116 106.5)
XYZxyz(51.0516, 58.3891, 23.9071)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD70 #7074D1
analogous
#D19C70 #D1CD70 #A4D170
triadic
#D1CD70 #70D1CD #CD70D1
tetradic
#D1CD70 #70D19C #7074D1 #D170A4
square
#D1CD70 #70D19C #7074D1 #D170A4
split-complementary
#D1CD70 #70A4D1 #9C70D1
monochromatic
#969230 #C2BD42 #D1CD70 #E0DD9E #EFEDCD

Accessibility & contrast

On white

1.66
#D1CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D1CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD70
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD70#FFFFFF#000000##000000
##D1CD701.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC768
Deuteranopia (green-blind)
#DDCB74
Tritanopia (blue-blind)
#DDC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd70;
/* rgb */ color: rgb(209, 205, 112);
/* oklch */ color: oklch(83.2% 0.116 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1dc9b',
    500: '#d1cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd70;
$custom-light: #e1dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd70",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 57.526,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83182,
    "c": 0.11585,
    "h": 106.5
  },
  "luminance": 0.58388
}

Semantic roles & 50–950 ramp

primary
#D1CD70
secondary
#494D9C
accent
#2DBF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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