#D4CD8A#D4CD8A

#D4CD8A is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.087 H 103.0°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D4CD8A
RGBrgb(212, 205, 138)
HSLhsl(54, 46%, 69%)
HSVhsv(54, 35%, 83%)
CMYKcmyk(0%, 3.3%, 34.9%, 16.9%)
CIE-LABlab(81.56, -7.52, 34.28)
CIE-LCHlch(81.56, 35.09, 102.37°)
OKLaboklab(83.84% -0.0195 0.0847)
OKLCHoklch(83.84% 0.087 103)
XYZxyz(53.5708, 59.4959, 32.7017)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD8A #8A91D4
analogous
#D4A88A #D4CD8A #B6D48A
triadic
#D4CD8A #8AD4CD #CD8AD4
tetradic
#D4CD8A #8AD4A8 #8A91D4 #D48AB6
square
#D4CD8A #8AD4A8 #8A91D4 #D48AB6
split-complementary
#D4CD8A #8AB6D4 #A88AD4
monochromatic
#A69C3D #C4BA5D #D4CD8A #E4E0B7 #F5F3E4

Accessibility & contrast

On white

1.63
#D4CD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D4CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD8A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD8A#FFFFFF#000000##000000
##D4CD8A1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C885
Deuteranopia (green-blind)
#DBCC8D
Tritanopia (blue-blind)
#DFC4BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4cd8a;
/* rgb */ color: rgb(212, 205, 138);
/* oklch */ color: oklch(83.8% 0.087 103.0);
Tailwind
colors: {
  custom: {
    50: '#e2dcad',
    500: '#d4cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd8a;
$custom-light: #e2dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd8a",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 54.324,
    "s": 46.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83844,
    "c": 0.08696,
    "h": 103
  },
  "luminance": 0.59495
}

Semantic roles & 50–950 ramp

primary
#D4CD8A
secondary
#5860AA
accent
#39B92C
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D4CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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