#D9C679#D9C679

#D9C679 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.6% C 0.100 H 95.9°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D9C679
RGBrgb(217, 198, 121)
HSLhsl(48, 56%, 66%)
HSVhsv(48, 44%, 85%)
CMYKcmyk(0%, 8.8%, 44.2%, 14.9%)
CIE-LABlab(79.91, -3.78, 40.90)
CIE-LCHlch(79.91, 41.07, 95.28°)
OKLaboklab(82.55% -0.0103 0.0991)
OKLCHoklch(82.55% 0.1 95.9)
XYZxyz(52.2619, 56.5222, 26.2424)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C679 #798CD9
analogous
#D99679 #D9C679 #BCD979
triadic
#D9C679 #79D9C6 #C679D9
tetradic
#D9C679 #79D996 #798CD9 #D979BC
square
#D9C679 #79D996 #798CD9 #D979BC
split-complementary
#D9C679 #79BCD9 #9679D9
monochromatic
#A89030 #CBB249 #D9C679 #E7DAA9 #F4EFD8

Accessibility & contrast

On white

1.71
#D9C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D9C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C679
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C679#FFFFFF#000000##000000
##D9C6791.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9c679;
/* rgb */ color: rgb(217, 198, 121);
/* oklch */ color: oklch(82.6% 0.100 95.9);
Tailwind
colors: {
  custom: {
    50: '#e6d7a1',
    500: '#d9c679',
    950: '#000000',
  },
}
SCSS
$custom: #d9c679;
$custom-light: #e6d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c679",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 48.125,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82554,
    "c": 0.0996,
    "h": 95.9
  },
  "luminance": 0.5652
}

Semantic roles & 50–950 ramp

primary
#D9C679
secondary
#4B5EAB
accent
#42C322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D9C679

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

Preview Lab → · Contrast checker → · Palette generator →

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