#D7D778#D7D778

#D7D778 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.118 H 108.7°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D7D778
RGBrgb(215, 215, 120)
HSLhsl(60, 54%, 66%)
HSVhsv(60, 44%, 84%)
CMYKcmyk(0%, 0%, 44.2%, 15.7%)
CIE-LABlab(84.18, -13.34, 46.66)
CIE-LCHlch(84.18, 48.53, 105.95°)
OKLaboklab(85.89% -0.0378 0.1119)
OKLCHoklch(85.89% 0.118 108.7)
XYZxyz(55.7160, 64.4053, 27.2621)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D778 #7878D7
analogous
#D7A778 #D7D778 #A7D778
triadic
#D7D778 #78D7D7 #D778D7
tetradic
#D7D778 #78D7A7 #7878D7 #D778A7
square
#D7D778 #78D7A7 #7878D7 #D778A7
split-complementary
#D7D778 #78A7D7 #A778D7
monochromatic
#A4A431 #C9C949 #D7D778 #E5E5A7 #F3F3D6

Accessibility & contrast

On white

1.51
#D7D778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D7D778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D778
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D778#FFFFFF#000000##000000
##D7D7781.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D070
Deuteranopia (green-blind)
#E6D47C
Tritanopia (blue-blind)
#E3CCC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d778;
/* rgb */ color: rgb(215, 215, 120);
/* oklch */ color: oklch(85.9% 0.118 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5e3a1',
    500: '#d7d778',
    950: '#000000',
  },
}
SCSS
$custom: #d7d778;
$custom-light: #e5e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d778",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85894,
    "c": 0.11813,
    "h": 108.7
  },
  "luminance": 0.64404
}

Semantic roles & 50–950 ramp

primary
#D7D778
secondary
#4B4BA8
accent
#24C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D778

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

Preview Lab → · Contrast checker → · Palette generator →

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