#D8CD7E#D8CD7E

#D8CD7E is a very light, moderate yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.101 H 101.4°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D8CD7E
RGBrgb(216, 205, 126)
HSLhsl(53, 54%, 67%)
HSVhsv(53, 42%, 85%)
CMYKcmyk(0%, 5.1%, 41.7%, 15.3%)
CIE-LABlab(81.71, -7.27, 40.64)
CIE-LCHlch(81.71, 41.28, 100.14°)
OKLaboklab(83.98% -0.0199 0.0988)
OKLCHoklch(83.98% 0.101 101.4)
XYZxyz(53.9172, 59.7695, 28.4311)
Luminance0.5977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD7E #7E89D8
analogous
#D8A07E #D8CD7E #B6D87E
triadic
#D8CD7E #7ED8CD #CD7ED8
tetradic
#D8CD7E #7ED8A0 #7E89D8 #D87EB6
square
#D8CD7E #7ED8A0 #7E89D8 #D87EB6
split-complementary
#D8CD7E #7EB6D8 #A07ED8
monochromatic
#A99A33 #CABB4F #D8CD7E #E6DFAD #F4F1DC

Accessibility & contrast

On white

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

On black

12.95
#D8CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD7E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD7E#FFFFFF#000000##000000
##D8CD7E1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC878
Deuteranopia (green-blind)
#DECD81
Tritanopia (blue-blind)
#E4C3BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd7e;
/* rgb */ color: rgb(216, 205, 126);
/* oklch */ color: oklch(84.0% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#e5dca4',
    500: '#d8cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd7e;
$custom-light: #e5dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd7e",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 52.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83983,
    "c": 0.10075,
    "h": 101.4
  },
  "luminance": 0.59768
}

Semantic roles & 50–950 ramp

primary
#D8CD7E
secondary
#4E5AAC
accent
#38C124
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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