#D2CD4C#D2CD4C

#D2CD4C is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.148 H 107.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D2CD4C
RGBrgb(210, 205, 76)
HSLhsl(58, 60%, 56%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 2.4%, 63.8%, 17.6%)
CIE-LABlab(80.68, -13.85, 62.50)
CIE-LCHlch(80.68, 64.02, 102.49°)
OKLaboklab(82.87% -0.0435 0.1415)
OKLCHoklch(82.87% 0.148 107.1)
XYZxyz(49.7159, 57.8877, 15.3907)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD4C #4C51D2
analogous
#D28A4C #D2CD4C #94D24C
triadic
#D2CD4C #4CD2CD #CD4CD2
tetradic
#D2CD4C #4CD28A #4C51D2 #D24C94
square
#D2CD4C #4CD28A #4C51D2 #D24C94
split-complementary
#D2CD4C #4C94D2 #8A4CD2
monochromatic
#837F21 #B4AF2D #D2CD4C #DEDB7D #EBE8AE

Accessibility & contrast

On white

1.67
#D2CD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D2CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD4C
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD4C#FFFFFF#000000##000000
##D2CD4C1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53B
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#E1C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd4c;
/* rgb */ color: rgb(210, 205, 76);
/* oklch */ color: oklch(82.9% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#e3dc84',
    500: '#d2cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd4c;
$custom-light: #e3dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd4c",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 57.761,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.14799,
    "h": 107.1
  },
  "luminance": 0.57886
}

Semantic roles & 50–950 ramp

primary
#D2CD4C
secondary
#383B8A
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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