#D4CD72#D4CD72

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

Color values

HEX#D4CD72
RGBrgb(212, 205, 114)
HSLhsl(56, 53%, 64%)
HSVhsv(56, 46%, 83%)
CMYKcmyk(0%, 3.3%, 46.2%, 16.9%)
CIE-LABlab(81.22, -10.07, 45.91)
CIE-LCHlch(81.22, 47.01, 102.37°)
OKLaboklab(83.46% -0.0288 0.1099)
OKLCHoklch(83.46% 0.114 104.7)
XYZxyz(52.0212, 58.8761, 24.5402)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD72 #7279D4
analogous
#D49C72 #D4CD72 #AAD472
triadic
#D4CD72 #72D4CD #CD72D4
tetradic
#D4CD72 #72D49C #7279D4 #D472AA
square
#D4CD72 #72D49C #7279D4 #D472AA
split-complementary
#D4CD72 #72AAD4 #9C72D4
monochromatic
#9C9430 #C6BC43 #D4CD72 #E2DEA1 #F1EED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD72#FFFFFF#000000##000000
##D4CD721.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)
#DBC76A
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#E1C2B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd72;
/* rgb */ color: rgb(212, 205, 114);
/* oklch */ color: oklch(83.5% 0.114 104.7);
Tailwind
colors: {
  custom: {
    50: '#e3dc9c',
    500: '#d4cd72',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd72;
$custom-light: #e3dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd72",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 55.714,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.11361,
    "h": 104.7
  },
  "luminance": 0.58875
}

Semantic roles & 50–950 ramp

primary
#D4CD72
secondary
#4950A1
accent
#30C125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D4CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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