#D2CD70#D2CD70

#D2CD70 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.116 H 105.9°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D2CD70
RGBrgb(210, 205, 112)
HSLhsl(57, 52%, 63%)
HSVhsv(57, 47%, 82%)
CMYKcmyk(0%, 2.4%, 46.7%, 17.6%)
CIE-LABlab(81.04, -11.07, 46.62)
CIE-LCHlch(81.04, 47.92, 103.35°)
OKLaboklab(83.27% -0.0318 0.1113)
OKLCHoklch(83.27% 0.116 105.9)
XYZxyz(51.3355, 58.5355, 23.9204)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD70 #7075D2
analogous
#D29C70 #D2CD70 #A6D270
triadic
#D2CD70 #70D2CD #CD70D2
tetradic
#D2CD70 #70D29C #7075D2 #D270A6
square
#D2CD70 #70D29C #7075D2 #D270A6
split-complementary
#D2CD70 #70A6D2 #9C70D2
monochromatic
#989330 #C3BD41 #D2CD70 #E1DD9F #EFEECD

Accessibility & contrast

On white

1.65
#D2CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D2CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD70
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD70#FFFFFF#000000##000000
##D2CD701.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd70;
/* rgb */ color: rgb(210, 205, 112);
/* oklch */ color: oklch(83.3% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc9b',
    500: '#d2cd70',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd70;
$custom-light: #e1dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd70",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 56.939,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83266,
    "c": 0.11577,
    "h": 105.9
  },
  "luminance": 0.58534
}

Semantic roles & 50–950 ramp

primary
#D2CD70
secondary
#494D9D
accent
#2EC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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