#D0C779#D0C779

#D0C779 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.100 H 102.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D0C779
RGBrgb(208, 199, 121)
HSLhsl(54, 48%, 65%)
HSVhsv(54, 42%, 82%)
CMYKcmyk(0%, 4.3%, 41.8%, 18.4%)
CIE-LABlab(79.41, -7.91, 40.10)
CIE-LCHlch(79.41, 40.88, 101.16°)
OKLaboklab(81.97% -0.0218 0.0974)
OKLCHoklch(81.97% 0.1 102.6)
XYZxyz(49.8880, 55.6386, 26.1968)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C779 #7982D0
analogous
#D09C79 #D0C779 #AED079
triadic
#D0C779 #79D0C7 #C779D0
tetradic
#D0C779 #79D09C #7982D0 #D079AE
square
#D0C779 #79D09C #7982D0 #D079AE
split-complementary
#D0C779 #79AED0 #9C79D0
monochromatic
#998F36 #C0B44C #D0C779 #E0DAA6 #F0EDD4

Accessibility & contrast

On white

1.73
#D0C779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D0C779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C779
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C779#FFFFFF#000000##000000
##D0C7791.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c779;
/* rgb */ color: rgb(208, 199, 121);
/* oklch */ color: oklch(82.0% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d7a1',
    500: '#d0c779',
    950: '#000000',
  },
}
SCSS
$custom: #d0c779;
$custom-light: #e0d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c779",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 53.793,
    "s": 48.066,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.09977,
    "h": 102.6
  },
  "luminance": 0.55637
}

Semantic roles & 50–950 ramp

primary
#D0C779
secondary
#4F579F
accent
#39BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D0C779

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

Preview Lab → · Contrast checker → · Palette generator →

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