#D0C778#D0C778

#D0C778 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.101 H 102.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D0C778
RGBrgb(208, 199, 120)
HSLhsl(54, 48%, 64%)
HSVhsv(54, 42%, 82%)
CMYKcmyk(0%, 4.3%, 42.3%, 18.4%)
CIE-LABlab(79.39, -8.02, 40.59)
CIE-LCHlch(79.39, 41.38, 101.17°)
OKLaboklab(81.96% -0.0222 0.0984)
OKLCHoklch(81.96% 0.101 102.7)
XYZxyz(49.8270, 55.6142, 25.8755)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C778 #7881D0
analogous
#D09B78 #D0C778 #ADD078
triadic
#D0C778 #78D0C7 #C778D0
tetradic
#D0C778 #78D09B #7881D0 #D078AD
square
#D0C778 #78D09B #7881D0 #D078AD
split-complementary
#D0C778 #78ADD0 #9B78D0
monochromatic
#998E35 #C0B44B #D0C778 #E0DAA5 #F0EDD3

Accessibility & contrast

On white

1.73
#D0C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D0C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C778
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C778#FFFFFF#000000##000000
##D0C7781.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C272
Deuteranopia (green-blind)
#D7C77B
Tritanopia (blue-blind)
#DCBDB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d0c778;
/* rgb */ color: rgb(208, 199, 120);
/* oklch */ color: oklch(82.0% 0.101 102.7);
Tailwind
colors: {
  custom: {
    50: '#e0d7a0',
    500: '#d0c778',
    950: '#000000',
  },
}
SCSS
$custom: #d0c778;
$custom-light: #e0d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c778",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 53.864,
    "s": 48.352,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81957,
    "c": 0.10087,
    "h": 102.7
  },
  "luminance": 0.55613
}

Semantic roles & 50–950 ramp

primary
#D0C778
secondary
#4E569E
accent
#39BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D0C778

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

Preview Lab → · Contrast checker → · Palette generator →

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