#D2CD6F#D2CD6F

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

Color values

HEX#D2CD6F
RGBrgb(210, 205, 111)
HSLhsl(57, 52%, 63%)
HSVhsv(57, 47%, 82%)
CMYKcmyk(0%, 2.4%, 47.1%, 17.6%)
CIE-LABlab(81.02, -11.16, 47.09)
CIE-LCHlch(81.02, 48.40, 103.33°)
OKLaboklab(83.25% -0.0321 0.1123)
OKLCHoklch(83.25% 0.117 106)
XYZxyz(51.2801, 58.5134, 23.6288)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD6F #6F74D2
analogous
#D29C6F #D2CD6F #A5D26F
triadic
#D2CD6F #6FD2CD #CD6FD2
tetradic
#D2CD6F #6FD29C #6F74D2 #D26FA5
square
#D2CD6F #6FD29C #6F74D2 #D26FA5
split-complementary
#D2CD6F #6FA5D2 #9C6FD2
monochromatic
#97922F #C3BD40 #D2CD6F #E1DD9E #EFEDCC

Accessibility & contrast

On white

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

On black

12.70
#D2CD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD6F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD6F#FFFFFF#000000##000000
##D2CD6F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd6f;
/* rgb */ color: rgb(210, 205, 111);
/* oklch */ color: oklch(83.3% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2dc9a',
    500: '#d2cd6f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd6f;
$custom-light: #e2dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd6f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 56.97,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83253,
    "c": 0.1168,
    "h": 106
  },
  "luminance": 0.58512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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