#D4CD5D#D4CD5D

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

Color values

HEX#D4CD5D
RGBrgb(212, 205, 93)
HSLhsl(56, 58%, 60%)
HSVhsv(56, 56%, 83%)
CMYKcmyk(0%, 3.3%, 56.1%, 16.9%)
CIE-LABlab(80.99, -11.86, 55.56)
CIE-LCHlch(80.99, 56.81, 102.05°)
OKLaboklab(83.2% -0.0361 0.1289)
OKLCHoklch(83.2% 0.134 105.7)
XYZxyz(50.9601, 58.4516, 18.9517)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD5D #5D64D4
analogous
#D4925D #D4CD5D #9FD45D
triadic
#D4CD5D #5DD4CD #CD5DD4
tetradic
#D4CD5D #5DD492 #5D64D4 #D45D9F
square
#D4CD5D #5DD492 #5D64D4 #D45D9F
split-complementary
#D4CD5D #5D9FD4 #925DD4
monochromatic
#908A26 #C1B833 #D4CD5D #E1DC8D #EEEBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD5D#FFFFFF#000000##000000
##D4CD5D1.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)
#DDC651
Deuteranopia (green-blind)
#E0CB63
Tritanopia (blue-blind)
#E2C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd5d;
/* rgb */ color: rgb(212, 205, 93);
/* oklch */ color: oklch(83.2% 0.134 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc8f',
    500: '#d4cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd5d;
$custom-light: #e4dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd5d",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 56.471,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83201,
    "c": 0.13389,
    "h": 105.7
  },
  "luminance": 0.5845
}

Semantic roles & 50–950 ramp

primary
#D4CD5D
secondary
#3F4496
accent
#50E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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