#D2C779#D2C779

#D2C779 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.100 H 101.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D2C779
RGBrgb(210, 199, 121)
HSLhsl(53, 50%, 65%)
HSVhsv(53, 42%, 82%)
CMYKcmyk(0%, 5.2%, 42.4%, 17.6%)
CIE-LABlab(79.57, -7.11, 40.35)
CIE-LCHlch(79.57, 40.97, 100.00°)
OKLaboklab(82.15% -0.0196 0.0979)
OKLCHoklch(82.15% 0.1 101.3)
XYZxyz(50.4540, 55.9305, 26.2234)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C779 #7984D2
analogous
#D29A79 #D2C779 #B1D279
triadic
#D2C779 #79D2C7 #C779D2
tetradic
#D2C779 #79D29A #7984D2 #D279B1
square
#D2C779 #79D29A #7984D2 #D279B1
split-complementary
#D2C779 #79B1D2 #9A79D2
monochromatic
#9C8F34 #C3B44B #D2C779 #E1DAA7 #F1EDD5

Accessibility & contrast

On white

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

On black

12.19
#D2C779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C779
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C779#FFFFFF#000000##000000
##D2C7791.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D8C77C
Tritanopia (blue-blind)
#DEBDB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c779;
/* rgb */ color: rgb(210, 199, 121);
/* oklch */ color: oklch(82.1% 0.100 101.3);
Tailwind
colors: {
  custom: {
    50: '#e1d7a1',
    500: '#d2c779',
    950: '#000000',
  },
}
SCSS
$custom: #d2c779;
$custom-light: #e1d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c779",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 52.584,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82145,
    "c": 0.09983,
    "h": 101.3
  },
  "luminance": 0.55929
}

Semantic roles & 50–950 ramp

primary
#D2C779
secondary
#4E58A1
accent
#3BBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C779

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

Preview Lab → · Contrast checker → · Palette generator →

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