#D5C778#D5C778

#D5C778 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.101 H 99.5°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D5C778
RGBrgb(213, 199, 120)
HSLhsl(51, 53%, 65%)
HSVhsv(51, 44%, 84%)
CMYKcmyk(0%, 6.6%, 43.7%, 16.5%)
CIE-LABlab(79.81, -6.01, 41.21)
CIE-LCHlch(79.81, 41.64, 98.30°)
OKLaboklab(82.39% -0.0166 0.0998)
OKLCHoklch(82.39% 0.101 99.5)
XYZxyz(51.2554, 56.3507, 25.9425)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C778 #7886D5
analogous
#D59978 #D5C778 #B4D578
triadic
#D5C778 #78D5C7 #C778D5
tetradic
#D5C778 #78D599 #7886D5 #D578B4
square
#D5C778 #78D599 #7886D5 #D578B4
split-complementary
#D5C778 #78B4D5 #9978D5
monochromatic
#A19032 #C6B449 #D5C778 #E4DAA7 #F2EED5

Accessibility & contrast

On white

1.71
#D5C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D5C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C778
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C778#FFFFFF#000000##000000
##D5C7781.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C372
Deuteranopia (green-blind)
#D9C87B
Tritanopia (blue-blind)
#E2BDB4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c778;
/* rgb */ color: rgb(213, 199, 120);
/* oklch */ color: oklch(82.4% 0.101 99.5);
Tailwind
colors: {
  custom: {
    50: '#e3d7a0',
    500: '#d5c778',
    950: '#000000',
  },
}
SCSS
$custom: #d5c778;
$custom-light: #e3d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c778",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 50.968,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8239,
    "c": 0.10113,
    "h": 99.5
  },
  "luminance": 0.56349
}

Semantic roles & 50–950 ramp

primary
#D5C778
secondary
#4C5AA5
accent
#3DC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D5C778

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

Preview Lab → · Contrast checker → · Palette generator →

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