#D3CC79#D3CC79

#D3CC79 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.105 H 104.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D3CC79
RGBrgb(211, 204, 121)
HSLhsl(55, 51%, 65%)
HSVhsv(55, 43%, 83%)
CMYKcmyk(0%, 3.3%, 42.7%, 17.3%)
CIE-LABlab(80.97, -9.27, 42.12)
CIE-LCHlch(80.97, 43.13, 102.42°)
OKLaboklab(83.27% -0.0258 0.1019)
OKLCHoklch(83.27% 0.105 104.2)
XYZxyz(51.9091, 58.4165, 26.6265)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC79 #7980D3
analogous
#D39F79 #D3CC79 #ADD379
triadic
#D3CC79 #79D3CC #CC79D3
tetradic
#D3CC79 #79D39F #7980D3 #D379AD
square
#D3CC79 #79D39F #7980D3 #D379AD
split-complementary
#D3CC79 #79ADD3 #9F79D3
monochromatic
#9E9634 #C4BA4B #D3CC79 #E2DEA7 #F1EFD5

Accessibility & contrast

On white

1.66
#D3CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D3CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC79
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC79#FFFFFF#000000##000000
##D3CC791.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C772
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#DFC2B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cc79;
/* rgb */ color: rgb(211, 204, 121);
/* oklch */ color: oklch(83.3% 0.105 104.2);
Tailwind
colors: {
  custom: {
    50: '#e2dba1',
    500: '#d3cc79',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc79;
$custom-light: #e2dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc79",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 55.333,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83272,
    "c": 0.10511,
    "h": 104.2
  },
  "luminance": 0.58415
}

Semantic roles & 50–950 ramp

primary
#D3CC79
secondary
#4E54A3
accent
#33BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D3CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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