#D3CD79#D3CD79

#D3CD79 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.106 H 104.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D3CD79
RGBrgb(211, 205, 121)
HSLhsl(56, 51%, 65%)
HSVhsv(56, 43%, 83%)
CMYKcmyk(0%, 2.8%, 42.7%, 17.3%)
CIE-LABlab(81.23, -9.78, 42.45)
CIE-LCHlch(81.23, 43.56, 102.98°)
OKLaboklab(83.48% -0.0273 0.1026)
OKLCHoklch(83.48% 0.106 104.9)
XYZxyz(52.1475, 58.8934, 26.7060)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD79 #797FD3
analogous
#D3A079 #D3CD79 #ACD379
triadic
#D3CD79 #79D3CD #CD79D3
tetradic
#D3CD79 #79D3A0 #797FD3 #D379AC
square
#D3CD79 #79D3A0 #797FD3 #D379AC
split-complementary
#D3CD79 #79ACD3 #A079D3
monochromatic
#9E9734 #C4BC4B #D3CD79 #E2DEA7 #F1EFD5

Accessibility & contrast

On white

1.64
#D3CD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D3CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD79
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD79#FFFFFF#000000##000000
##D3CD791.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC772
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#DFC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cd79;
/* rgb */ color: rgb(211, 205, 121);
/* oklch */ color: oklch(83.5% 0.106 104.9);
Tailwind
colors: {
  custom: {
    50: '#e2dca1',
    500: '#d3cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd79;
$custom-light: #e2dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd79",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 56,
    "s": 50.562,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83481,
    "c": 0.1062,
    "h": 104.9
  },
  "luminance": 0.58892
}

Semantic roles & 50–950 ramp

primary
#D3CD79
secondary
#4E53A3
accent
#32BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D3CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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