#D7CD78#D7CD78

#D7CD78 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.107 H 102.5°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D7CD78
RGBrgb(215, 205, 120)
HSLhsl(54, 54%, 66%)
HSVhsv(54, 44%, 84%)
CMYKcmyk(0%, 4.7%, 44.2%, 15.7%)
CIE-LABlab(81.55, -8.28, 43.41)
CIE-LCHlch(81.55, 44.19, 100.80°)
OKLaboklab(83.81% -0.0233 0.1047)
OKLCHoklch(83.81% 0.107 102.5)
XYZxyz(53.2470, 59.4673, 26.4391)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD78 #7882D7
analogous
#D79D78 #D7CD78 #B1D778
triadic
#D7CD78 #78D7CD #CD78D7
tetradic
#D7CD78 #78D79D #7882D7 #D778B1
square
#D7CD78 #78D79D #7882D7 #D778B1
split-complementary
#D7CD78 #78B1D7 #9D78D7
monochromatic
#A49831 #C9BC49 #D7CD78 #E5DEA7 #F3F0D6

Accessibility & contrast

On white

1.63
#D7CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D7CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD78
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD78#FFFFFF#000000##000000
##D7CD781.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DECD7C
Tritanopia (blue-blind)
#E4C3B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd78;
/* rgb */ color: rgb(215, 205, 120);
/* oklch */ color: oklch(83.8% 0.107 102.5);
Tailwind
colors: {
  custom: {
    50: '#e5dca0',
    500: '#d7cd78',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd78;
$custom-light: #e5dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd78",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 53.684,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83805,
    "c": 0.10724,
    "h": 102.5
  },
  "luminance": 0.59466
}

Semantic roles & 50–950 ramp

primary
#D7CD78
secondary
#4B55A8
accent
#34C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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