#D4CD7D#D4CD7D

#D4CD7D is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.102 H 104.0°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D4CD7D
RGBrgb(212, 205, 125)
HSLhsl(55, 50%, 66%)
HSVhsv(55, 41%, 83%)
CMYKcmyk(0%, 3.3%, 41%, 16.9%)
CIE-LABlab(81.37, -8.97, 40.64)
CIE-LCHlch(81.37, 41.62, 102.45°)
OKLaboklab(83.63% -0.0247 0.0988)
OKLCHoklch(83.63% 0.102 104)
XYZxyz(52.6853, 59.1417, 28.0382)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD7D #7D84D4
analogous
#D4A17D #D4CD7D #AFD47D
triadic
#D4CD7D #7DD4CD #CD7DD4
tetradic
#D4CD7D #7DD4A1 #7D84D4 #D47DAF
square
#D4CD7D #7DD4A1 #7D84D4 #D47DAF
split-complementary
#D4CD7D #7DAFD4 #A17DD4
monochromatic
#A19935 #C5BB4F #D4CD7D #E3DFAB #F2F0D9

Accessibility & contrast

On white

1.64
#D4CD7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D4CD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD7D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD7D#FFFFFF#000000##000000
##D4CD7D1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC877
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#E0C3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd7d;
/* rgb */ color: rgb(212, 205, 125);
/* oklch */ color: oklch(83.6% 0.102 104.0);
Tailwind
colors: {
  custom: {
    50: '#e2dca4',
    500: '#d4cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd7d;
$custom-light: #e2dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd7d",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 55.172,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.10179,
    "h": 104
  },
  "luminance": 0.5914
}

Semantic roles & 50–950 ramp

primary
#D4CD7D
secondary
#4F56A6
accent
#34BE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D4CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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