#D1C679#D1C679

#D1C679 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.099 H 101.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D1C679
RGBrgb(209, 198, 121)
HSLhsl(53, 49%, 65%)
HSVhsv(53, 42%, 82%)
CMYKcmyk(0%, 5.3%, 42.1%, 18%)
CIE-LABlab(79.23, -7.00, 39.89)
CIE-LCHlch(79.23, 40.50, 99.95°)
OKLaboklab(81.85% -0.0192 0.0969)
OKLCHoklch(81.85% 0.099 101.2)
XYZxyz(49.9408, 55.3254, 26.1336)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C679 #7984D1
analogous
#D19A79 #D1C679 #B0D179
triadic
#D1C679 #79D1C6 #C679D1
tetradic
#D1C679 #79D19A #7984D1 #D179B0
square
#D1C679 #79D19A #7984D1 #D179B0
split-complementary
#D1C679 #79B0D1 #9A79D1
monochromatic
#9B8E35 #C1B34B #D1C679 #E1D9A7 #F0EDD4

Accessibility & contrast

On white

1.74
#D1C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D1C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C679
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C679#FFFFFF#000000##000000
##D1C6791.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C173
Deuteranopia (green-blind)
#D7C67C
Tritanopia (blue-blind)
#DDBCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c679;
/* rgb */ color: rgb(209, 198, 121);
/* oklch */ color: oklch(81.9% 0.099 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d7a1',
    500: '#d1c679',
    950: '#000000',
  },
}
SCSS
$custom: #d1c679;
$custom-light: #e0d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c679",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 52.5,
    "s": 48.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81851,
    "c": 0.09877,
    "h": 101.2
  },
  "luminance": 0.55324
}

Semantic roles & 50–950 ramp

primary
#D1C679
secondary
#4E59A0
accent
#3CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D1C679

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

Preview Lab → · Contrast checker → · Palette generator →

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