#D3CD74#D3CD74

#D3CD74 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.112 H 105.2°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D3CD74
RGBrgb(211, 205, 116)
HSLhsl(56, 52%, 64%)
HSVhsv(56, 45%, 83%)
CMYKcmyk(0%, 2.8%, 45%, 17.3%)
CIE-LABlab(81.17, -10.28, 44.84)
CIE-LCHlch(81.17, 46.01, 102.91°)
OKLaboklab(83.41% -0.0292 0.1077)
OKLCHoklch(83.41% 0.112 105.2)
XYZxyz(51.8488, 58.7739, 25.1329)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD74 #747AD3
analogous
#D39E74 #D3CD74 #AAD374
triadic
#D3CD74 #74D3CD #CD74D3
tetradic
#D3CD74 #74D39E #747AD3 #D374AA
square
#D3CD74 #74D39E #747AD3 #D374AA
split-complementary
#D3CD74 #74AAD3 #9E74D3
monochromatic
#9B9531 #C4BC46 #D3CD74 #E2DEA2 #F0EED1

Accessibility & contrast

On white

1.65
#D3CD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D3CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD74
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD74#FFFFFF#000000##000000
##D3CD741.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#DDCC78
Tritanopia (blue-blind)
#DFC3B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d3cd74;
/* rgb */ color: rgb(211, 205, 116);
/* oklch */ color: oklch(83.4% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc9e',
    500: '#d3cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd74;
$custom-light: #e2dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd74",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 56.211,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83407,
    "c": 0.11154,
    "h": 105.2
  },
  "luminance": 0.58772
}

Semantic roles & 50–950 ramp

primary
#D3CD74
secondary
#4B50A0
accent
#30BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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