#D2CD6A#D2CD6A

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

Color values

HEX#D2CD6A
RGBrgb(210, 205, 106)
HSLhsl(57, 54%, 62%)
HSVhsv(57, 50%, 82%)
CMYKcmyk(0%, 2.4%, 49.5%, 17.6%)
CIE-LABlab(80.96, -11.62, 49.43)
CIE-LCHlch(80.96, 50.78, 103.22°)
OKLaboklab(83.19% -0.0339 0.117)
OKLCHoklch(83.19% 0.122 106.2)
XYZxyz(51.0125, 58.4063, 22.2192)
Luminance0.5840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD6A #6A6FD2
analogous
#D2996A #D2CD6A #A3D26A
triadic
#D2CD6A #6AD2CD #CD6AD2
tetradic
#D2CD6A #6AD299 #6A6FD2 #D26AA3
square
#D2CD6A #6AD299 #6A6FD2 #D26AA3
split-complementary
#D2CD6A #6AA3D2 #996AD2
monochromatic
#95902D #C4BD3B #D2CD6A #E0DD99 #EEEDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD6A#FFFFFF#000000##000000
##D2CD6A1.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)
#DBC761
Deuteranopia (green-blind)
#DECB6F
Tritanopia (blue-blind)
#DFC2B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd6a;
/* rgb */ color: rgb(210, 205, 106);
/* oklch */ color: oklch(83.2% 0.122 106.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc97',
    500: '#d2cd6a',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd6a;
$custom-light: #e2dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd6a",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 57.115,
    "s": 53.608,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83187,
    "c": 0.12184,
    "h": 106.2
  },
  "luminance": 0.58405
}

Semantic roles & 50–950 ramp

primary
#D2CD6A
secondary
#464A9A
accent
#2CC124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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