#D1CD4C#D1CD4C

#D1CD4C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.148 H 107.5°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D1CD4C
RGBrgb(209, 205, 76)
HSLhsl(58, 59%, 56%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 1.9%, 63.6%, 18%)
CIE-LABlab(80.59, -14.26, 62.39)
CIE-LCHlch(80.59, 64.00, 102.88°)
OKLaboklab(82.78% -0.0446 0.1412)
OKLCHoklch(82.78% 0.148 107.5)
XYZxyz(49.4320, 57.7413, 15.3774)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD4C #4C50D1
analogous
#D18A4C #D1CD4C #93D14C
triadic
#D1CD4C #4CD1CD #CD4CD1
tetradic
#D1CD4C #4CD18A #4C50D1 #D14C93
square
#D1CD4C #4CD18A #4C50D1 #D14C93
split-complementary
#D1CD4C #4C93D1 #8A4CD1
monochromatic
#817E21 #B2AE2E #D1CD4C #DEDB7D #EAE8AD

Accessibility & contrast

On white

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

On black

12.55
#D1CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD4C
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD4C#FFFFFF#000000##000000
##D1CD4C1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd4c;
/* rgb */ color: rgb(209, 205, 76);
/* oklch */ color: oklch(82.8% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e2dc84',
    500: '#d1cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd4c;
$custom-light: #e2dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd4c",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 58.195,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8278,
    "c": 0.14813,
    "h": 107.5
  },
  "luminance": 0.5774
}

Semantic roles & 50–950 ramp

primary
#D1CD4C
secondary
#393B89
accent
#4AE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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