#D9CD7E#D9CD7E

#D9CD7E is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.101 H 100.7°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D9CD7E
RGBrgb(217, 205, 126)
HSLhsl(52, 54%, 67%)
HSVhsv(52, 42%, 85%)
CMYKcmyk(0%, 5.5%, 41.9%, 14.9%)
CIE-LABlab(81.80, -6.87, 40.76)
CIE-LCHlch(81.80, 41.34, 99.57°)
OKLaboklab(84.07% -0.0188 0.099)
OKLCHoklch(84.07% 0.101 100.7)
XYZxyz(54.2136, 59.9223, 28.4450)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD7E #7E8AD9
analogous
#D9A07E #D9CD7E #B8D97E
triadic
#D9CD7E #7ED9CD #CD7ED9
tetradic
#D9CD7E #7ED9A0 #7E8AD9 #D97EB8
square
#D9CD7E #7ED9A0 #7E8AD9 #D97EB8
split-complementary
#D9CD7E #7EB8D9 #A07ED9
monochromatic
#AA9B32 #CBBB4F #D9CD7E #E7DFAD #F5F2DD

Accessibility & contrast

On white

1.62
#D9CD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D9CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD7E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD7E#FFFFFF#000000##000000
##D9CD7E1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC878
Deuteranopia (green-blind)
#DECE81
Tritanopia (blue-blind)
#E5C3BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd7e;
/* rgb */ color: rgb(217, 205, 126);
/* oklch */ color: oklch(84.1% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#e6dca4',
    500: '#d9cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd7e;
$custom-light: #e6dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd7e",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 52.088,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84069,
    "c": 0.1008,
    "h": 100.7
  },
  "luminance": 0.59921
}

Semantic roles & 50–950 ramp

primary
#D9CD7E
secondary
#4E5AAE
accent
#38C224
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D9CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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