#D7C679#D7C679

#D7C679 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.099 H 97.2°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D7C679
RGBrgb(215, 198, 121)
HSLhsl(49, 54%, 66%)
HSVhsv(49, 44%, 84%)
CMYKcmyk(0%, 7.9%, 43.7%, 15.7%)
CIE-LABlab(79.74, -4.59, 40.64)
CIE-LCHlch(79.74, 40.90, 96.44°)
OKLaboklab(82.38% -0.0125 0.0985)
OKLCHoklch(82.38% 0.099 97.2)
XYZxyz(51.6709, 56.2175, 26.2147)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C679 #798AD7
analogous
#D79779 #D7C679 #B9D779
triadic
#D7C679 #79D7C6 #C679D7
tetradic
#D7C679 #79D797 #798AD7 #D779B9
square
#D7C679 #79D797 #798AD7 #D779B9
split-complementary
#D7C679 #79B9D7 #9779D7
monochromatic
#A49031 #C9B24A #D7C679 #E5DAA8 #F3EED7

Accessibility & contrast

On white

1.72
#D7C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D7C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C679
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C679#FFFFFF#000000##000000
##D7C6791.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#E4BCB3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c679;
/* rgb */ color: rgb(215, 198, 121);
/* oklch */ color: oklch(82.4% 0.099 97.2);
Tailwind
colors: {
  custom: {
    50: '#e5d7a1',
    500: '#d7c679',
    950: '#000000',
  },
}
SCSS
$custom: #d7c679;
$custom-light: #e5d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c679",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 49.149,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82376,
    "c": 0.09931,
    "h": 97.2
  },
  "luminance": 0.56216
}

Semantic roles & 50–950 ramp

primary
#D7C679
secondary
#4C5DA8
accent
#40C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D7C679

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

Preview Lab → · Contrast checker → · Palette generator →

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