#D4CD7E#D4CD7E

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

Color values

HEX#D4CD7E
RGBrgb(212, 205, 126)
HSLhsl(55, 50%, 66%)
HSVhsv(55, 41%, 83%)
CMYKcmyk(0%, 3.3%, 40.6%, 16.9%)
CIE-LABlab(81.38, -8.86, 40.15)
CIE-LCHlch(81.38, 41.12, 102.45°)
OKLaboklab(83.64% -0.0243 0.0977)
OKLCHoklch(83.64% 0.101 104)
XYZxyz(52.7495, 59.1674, 28.3764)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD7E #7E85D4
analogous
#D4A27E #D4CD7E #B0D47E
triadic
#D4CD7E #7ED4CD #CD7ED4
tetradic
#D4CD7E #7ED4A2 #7E85D4 #D47EB0
square
#D4CD7E #7ED4A2 #7E85D4 #D47EB0
split-complementary
#D4CD7E #7EB0D4 #A27ED4
monochromatic
#A29936 #C5BB50 #D4CD7E #E3DFAC #F3F1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD7E#FFFFFF#000000##000000
##D4CD7E1.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)
#DAC878
Deuteranopia (green-blind)
#DDCC81
Tritanopia (blue-blind)
#E0C3BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd7e;
/* rgb */ color: rgb(212, 205, 126);
/* oklch */ color: oklch(83.6% 0.101 104.0);
Tailwind
colors: {
  custom: {
    50: '#e2dca4',
    500: '#d4cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd7e;
$custom-light: #e2dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd7e",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 55.116,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83642,
    "c": 0.10068,
    "h": 104
  },
  "luminance": 0.59166
}

Semantic roles & 50–950 ramp

primary
#D4CD7E
secondary
#5057A6
accent
#34BD28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D4CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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