#D4CD78#D4CD78

#D4CD78 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.107 H 104.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D4CD78
RGBrgb(212, 205, 120)
HSLhsl(55, 52%, 65%)
HSVhsv(55, 43%, 83%)
CMYKcmyk(0%, 3.3%, 43.4%, 16.9%)
CIE-LABlab(81.30, -9.48, 43.05)
CIE-LCHlch(81.30, 44.08, 102.42°)
OKLaboklab(83.55% -0.0266 0.1039)
OKLCHoklch(83.55% 0.107 104.3)
XYZxyz(52.3739, 59.0172, 26.3982)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD78 #787FD4
analogous
#D49F78 #D4CD78 #ADD478
triadic
#D4CD78 #78D4CD #CD78D4
tetradic
#D4CD78 #78D49F #787FD4 #D478AD
square
#D4CD78 #78D49F #787FD4 #D478AD
split-complementary
#D4CD78 #78ADD4 #9F78D4
monochromatic
#9F9733 #C5BC4A #D4CD78 #E3DEA6 #F2EFD5

Accessibility & contrast

On white

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

On black

12.80
#D4CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD78
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD78#FFFFFF#000000##000000
##D4CD781.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#E0C3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd78;
/* rgb */ color: rgb(212, 205, 120);
/* oklch */ color: oklch(83.5% 0.107 104.3);
Tailwind
colors: {
  custom: {
    50: '#e3dca0',
    500: '#d4cd78',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd78;
$custom-light: #e3dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd78",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 55.435,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.10725,
    "h": 104.3
  },
  "luminance": 0.59016
}

Semantic roles & 50–950 ramp

primary
#D4CD78
secondary
#4D53A4
accent
#32BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D4CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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