#D1CD8A#D1CD8A

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

Color values

HEX#D1CD8A
RGBrgb(209, 205, 138)
HSLhsl(57, 44%, 68%)
HSVhsv(57, 34%, 82%)
CMYKcmyk(0%, 1.9%, 34%, 18%)
CIE-LABlab(81.32, -8.69, 33.91)
CIE-LCHlch(81.32, 35.01, 104.37°)
OKLaboklab(83.59% -0.0228 0.0839)
OKLCHoklch(83.59% 0.087 105.2)
XYZxyz(52.7138, 59.0540, 32.6615)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD8A #8A8ED1
analogous
#D1A98A #D1CD8A #B1D18A
triadic
#D1CD8A #8AD1CD #CD8AD1
tetradic
#D1CD8A #8AD1A9 #8A8ED1 #D18AB1
square
#D1CD8A #8AD1A9 #8A8ED1 #D18AB1
split-complementary
#D1CD8A #8AB1D1 #A98AD1
monochromatic
#A19C3F #C0BA5E #D1CD8A #E2E0B6 #F4F3E2

Accessibility & contrast

On white

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

On black

12.81
#D1CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD8A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD8A#FFFFFF#000000##000000
##D1CD8A1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C885
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#DBC5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1cd8a;
/* rgb */ color: rgb(209, 205, 138);
/* oklch */ color: oklch(83.6% 0.087 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0dcad',
    500: '#d1cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd8a;
$custom-light: #e0dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd8a",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 56.62,
    "s": 43.558,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83593,
    "c": 0.08695,
    "h": 105.2
  },
  "luminance": 0.59053
}

Semantic roles & 50–950 ramp

primary
#D1CD8A
secondary
#595DA6
accent
#36B72F
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D1CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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