#D8CD7A#D8CD7A

#D8CD7A is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.105 H 101.8°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D8CD7A
RGBrgb(216, 205, 122)
HSLhsl(53, 55%, 66%)
HSVhsv(53, 44%, 85%)
CMYKcmyk(0%, 5.1%, 43.5%, 15.3%)
CIE-LABlab(81.66, -7.68, 42.57)
CIE-LCHlch(81.66, 43.26, 100.23°)
OKLaboklab(83.92% -0.0214 0.1029)
OKLCHoklch(83.92% 0.105 101.8)
XYZxyz(53.6643, 59.6683, 27.0989)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD7A #7A85D8
analogous
#D89E7A #D8CD7A #B4D87A
triadic
#D8CD7A #7AD8CD #CD7AD8
tetradic
#D8CD7A #7AD89E #7A85D8 #D87AB4
square
#D8CD7A #7AD89E #7A85D8 #D87AB4
split-complementary
#D8CD7A #7AB4D8 #9E7AD8
monochromatic
#A79931 #CABB4B #D8CD7A #E6DFA9 #F4F1D9

Accessibility & contrast

On white

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

On black

12.93
#D8CD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD7A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD7A#FFFFFF#000000##000000
##D8CD7A1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC873
Deuteranopia (green-blind)
#DECD7D
Tritanopia (blue-blind)
#E5C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d8cd7a;
/* rgb */ color: rgb(216, 205, 122);
/* oklch */ color: oklch(83.9% 0.105 101.8);
Tailwind
colors: {
  custom: {
    50: '#e5dca2',
    500: '#d8cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd7a;
$custom-light: #e5dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd7a",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 52.979,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83921,
    "c": 0.10511,
    "h": 101.8
  },
  "luminance": 0.59667
}

Semantic roles & 50–950 ramp

primary
#D8CD7A
secondary
#4C57AA
accent
#36C223
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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