#D7CD8D#D7CD8D

#D7CD8D is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.084 H 100.4°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D7CD8D
RGBrgb(215, 205, 141)
HSLhsl(52, 48%, 70%)
HSVhsv(52, 34%, 84%)
CMYKcmyk(0%, 4.7%, 34.4%, 15.7%)
CIE-LABlab(81.86, -5.99, 33.16)
CIE-LCHlch(81.86, 33.70, 100.24°)
OKLaboklab(84.15% -0.0151 0.0822)
OKLCHoklch(84.15% 0.084 100.4)
XYZxyz(54.6641, 60.0342, 33.9023)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD8D #8D97D7
analogous
#D7A88D #D7CD8D #BCD78D
triadic
#D7CD8D #8DD7CD #CD8DD7
tetradic
#D7CD8D #8DD7A8 #8D97D7 #D78DBC
square
#D7CD8D #8DD7A8 #8D97D7 #D78DBC
split-complementary
#D7CD8D #8DBCD7 #A88DD7
monochromatic
#AD9E3D #C7B960 #D7CD8D #E7E1BA #F7F5E8

Accessibility & contrast

On white

1.61
#D7CD8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D7CD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD8D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD8D#FFFFFF#000000##000000
##D7CD8D1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C989
Deuteranopia (green-blind)
#DCCD8F
Tritanopia (blue-blind)
#E2C4BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd8d;
/* rgb */ color: rgb(215, 205, 141);
/* oklch */ color: oklch(84.2% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#e4dcaf',
    500: '#d7cd8d',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd8d;
$custom-light: #e4dcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd8d",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 141
  },
  "hsl": {
    "h": 51.892,
    "s": 48.052,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84151,
    "c": 0.08359,
    "h": 100.4
  },
  "luminance": 0.60033
}

Semantic roles & 50–950 ramp

primary
#D7CD8D
secondary
#5B66AD
accent
#3EBB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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