#D2CD6D#D2CD6D

#D2CD6D is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.119 H 106.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D2CD6D
RGBrgb(210, 205, 109)
HSLhsl(57, 53%, 63%)
HSVhsv(57, 48%, 82%)
CMYKcmyk(0%, 2.4%, 48.1%, 17.6%)
CIE-LABlab(81.00, -11.35, 48.03)
CIE-LCHlch(81.00, 49.36, 103.29°)
OKLaboklab(83.23% -0.0328 0.1142)
OKLCHoklch(83.23% 0.119 106)
XYZxyz(51.1712, 58.4698, 23.0553)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD6D #6D72D2
analogous
#D29B6D #D2CD6D #A4D26D
triadic
#D2CD6D #6DD2CD #CD6DD2
tetradic
#D2CD6D #6DD29B #6D72D2 #D26DA4
square
#D2CD6D #6DD29B #6D72D2 #D26DA4
split-complementary
#D2CD6D #6DA4D2 #9B6DD2
monochromatic
#96912E #C4BD3E #D2CD6D #E0DD9C #EFEDCB

Accessibility & contrast

On white

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

On black

12.69
#D2CD6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD6D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD6D#FFFFFF#000000##000000
##D2CD6D1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC765
Deuteranopia (green-blind)
#DECB72
Tritanopia (blue-blind)
#DFC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd6d;
/* rgb */ color: rgb(210, 205, 109);
/* oklch */ color: oklch(83.2% 0.119 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2dc99',
    500: '#d2cd6d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd6d;
$custom-light: #e2dc99;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd6d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 109
  },
  "hsl": {
    "h": 57.03,
    "s": 52.88,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83226,
    "c": 0.11884,
    "h": 106
  },
  "luminance": 0.58468
}

Semantic roles & 50–950 ramp

primary
#D2CD6D
secondary
#484C9C
accent
#2DC025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CD6D

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

Preview Lab → · Contrast checker → · Palette generator →

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