#D7D779#D7D779

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

Color values

HEX#D7D779
RGBrgb(215, 215, 121)
HSLhsl(60, 54%, 66%)
HSVhsv(60, 44%, 84%)
CMYKcmyk(0%, 0%, 43.7%, 15.7%)
CIE-LABlab(84.19, -13.24, 46.19)
CIE-LCHlch(84.19, 48.05, 105.99°)
OKLaboklab(85.91% -0.0374 0.111)
OKLCHoklch(85.91% 0.117 108.6)
XYZxyz(55.7770, 64.4297, 27.5834)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D779 #7979D7
analogous
#D7A879 #D7D779 #A8D779
triadic
#D7D779 #79D7D7 #D779D7
tetradic
#D7D779 #79D7A8 #7979D7 #D779A8
square
#D7D779 #79D7A8 #7979D7 #D779A8
split-complementary
#D7D779 #79A8D7 #A879D7
monochromatic
#A4A431 #C9C94A #D7D779 #E5E5A8 #F3F3D7

Accessibility & contrast

On white

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

On black

13.89
#D7D779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D779
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D779#FFFFFF#000000##000000
##D7D7791.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#E6D47D
Tritanopia (blue-blind)
#E3CDC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d779;
/* rgb */ color: rgb(215, 215, 121);
/* oklch */ color: oklch(85.9% 0.117 108.6);
Tailwind
colors: {
  custom: {
    50: '#e5e3a1',
    500: '#d7d779',
    950: '#000000',
  },
}
SCSS
$custom: #d7d779;
$custom-light: #e5e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d779",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85908,
    "c": 0.11709,
    "h": 108.6
  },
  "luminance": 0.64428
}

Semantic roles & 50–950 ramp

primary
#D7D779
secondary
#4C4CA8
accent
#24C124
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D779

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

Preview Lab → · Contrast checker → · Palette generator →

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