#D3CD72#D3CD72

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

Color values

HEX#D3CD72
RGBrgb(211, 205, 114)
HSLhsl(56, 52%, 64%)
HSVhsv(56, 46%, 83%)
CMYKcmyk(0%, 2.8%, 46%, 17.3%)
CIE-LABlab(81.14, -10.47, 45.80)
CIE-LCHlch(81.14, 46.98, 102.88°)
OKLaboklab(83.38% -0.0299 0.1096)
OKLCHoklch(83.38% 0.114 105.3)
XYZxyz(51.7337, 58.7278, 24.5268)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD72 #7278D3
analogous
#D39C72 #D3CD72 #A8D372
triadic
#D3CD72 #72D3CD #CD72D3
tetradic
#D3CD72 #72D39C #7278D3 #D372A8
square
#D3CD72 #72D39C #7278D3 #D372A8
split-complementary
#D3CD72 #72A8D3 #9C72D3
monochromatic
#9A9430 #C4BC43 #D3CD72 #E2DEA1 #F0EECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CD72#FFFFFF#000000##000000
##D3CD721.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)
#DBC76A
Deuteranopia (green-blind)
#DDCC76
Tritanopia (blue-blind)
#DFC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd72;
/* rgb */ color: rgb(211, 205, 114);
/* oklch */ color: oklch(83.4% 0.114 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc9c',
    500: '#d3cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd72;
$custom-light: #e2dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd72",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 56.289,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83379,
    "c": 0.11365,
    "h": 105.3
  },
  "luminance": 0.58726
}

Semantic roles & 50–950 ramp

primary
#D3CD72
secondary
#4A4F9F
accent
#2FC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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