#D5CD78#D5CD78

#D5CD78 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.107 H 103.7°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D5CD78
RGBrgb(213, 205, 120)
HSLhsl(55, 53%, 65%)
HSVhsv(55, 44%, 84%)
CMYKcmyk(0%, 3.8%, 43.7%, 16.5%)
CIE-LABlab(81.38, -9.08, 43.17)
CIE-LCHlch(81.38, 44.12, 101.88°)
OKLaboklab(83.64% -0.0255 0.1042)
OKLCHoklch(83.64% 0.107 103.7)
XYZxyz(52.6632, 59.1663, 26.4118)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD78 #7880D5
analogous
#D59F78 #D5CD78 #AED578
triadic
#D5CD78 #78D5CD #CD78D5
tetradic
#D5CD78 #78D59F #7880D5 #D578AE
square
#D5CD78 #78D59F #7880D5 #D578AE
split-complementary
#D5CD78 #78AED5 #9F78D5
monochromatic
#A19732 #C6BC49 #D5CD78 #E4DEA7 #F2F0D5

Accessibility & contrast

On white

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

On black

12.83
#D5CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD78
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD78#FFFFFF#000000##000000
##D5CD781.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DECC7C
Tritanopia (blue-blind)
#E1C3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd78;
/* rgb */ color: rgb(213, 205, 120);
/* oklch */ color: oklch(83.6% 0.107 103.7);
Tailwind
colors: {
  custom: {
    50: '#e3dca0',
    500: '#d5cd78',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd78;
$custom-light: #e3dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd78",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 54.839,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83635,
    "c": 0.10723,
    "h": 103.7
  },
  "luminance": 0.59165
}

Semantic roles & 50–950 ramp

primary
#D5CD78
secondary
#4C54A5
accent
#33C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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