#D7D678#D7D678

#D7D678 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.117 H 108.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D7D678
RGBrgb(215, 214, 120)
HSLhsl(59, 54%, 66%)
HSVhsv(59, 44%, 84%)
CMYKcmyk(0%, 0.5%, 44.2%, 15.7%)
CIE-LABlab(83.91, -12.84, 46.34)
CIE-LCHlch(83.91, 48.08, 105.48°)
OKLaboklab(85.68% -0.0363 0.1112)
OKLCHoklch(85.68% 0.117 108.1)
XYZxyz(55.4621, 63.8975, 27.1775)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D678 #7879D7
analogous
#D7A678 #D7D678 #A8D778
triadic
#D7D678 #78D7D6 #D678D7
tetradic
#D7D678 #78D7A6 #7879D7 #D778A8
square
#D7D678 #78D7A6 #7879D7 #D778A8
split-complementary
#D7D678 #78A8D7 #A678D7
monochromatic
#A4A331 #C9C849 #D7D678 #E5E4A7 #F3F3D6

Accessibility & contrast

On white

1.52
#D7D678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D7D678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D678
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D678#FFFFFF#000000##000000
##D7D6781.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF70
Deuteranopia (green-blind)
#E5D37C
Tritanopia (blue-blind)
#E3CBC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d678;
/* rgb */ color: rgb(215, 214, 120);
/* oklch */ color: oklch(85.7% 0.117 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5e2a1',
    500: '#d7d678',
    950: '#000000',
  },
}
SCSS
$custom: #d7d678;
$custom-light: #e5e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d678",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 59.368,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85684,
    "c": 0.117,
    "h": 108.1
  },
  "luminance": 0.63896
}

Semantic roles & 50–950 ramp

primary
#D7D678
secondary
#4B4CA8
accent
#25C224
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D678

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

Preview Lab → · Contrast checker → · Palette generator →

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