#D4CD73#D4CD73

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

Color values

HEX#D4CD73
RGBrgb(212, 205, 115)
HSLhsl(56, 53%, 64%)
HSVhsv(56, 46%, 83%)
CMYKcmyk(0%, 3.3%, 45.8%, 16.9%)
CIE-LABlab(81.24, -9.98, 45.44)
CIE-LCHlch(81.24, 46.52, 102.38°)
OKLaboklab(83.48% -0.0284 0.1089)
OKLCHoklch(83.48% 0.113 104.6)
XYZxyz(52.0784, 58.8989, 24.8416)
Luminance0.5890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD73 #737AD4
analogous
#D49D73 #D4CD73 #ABD473
triadic
#D4CD73 #73D4CD #CD73D4
tetradic
#D4CD73 #73D49D #737AD4 #D473AB
square
#D4CD73 #73D49D #737AD4 #D473AB
split-complementary
#D4CD73 #73ABD4 #9D73D4
monochromatic
#9D9530 #C6BC44 #D4CD73 #E2DEA2 #F1EED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD73#FFFFFF#000000##000000
##D4CD731.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)
#DBC76B
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#E0C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd73;
/* rgb */ color: rgb(212, 205, 115);
/* oklch */ color: oklch(83.5% 0.113 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3dc9d',
    500: '#d4cd73',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd73;
$custom-light: #e3dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd73",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 55.67,
    "s": 53.005,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83477,
    "c": 0.11255,
    "h": 104.6
  },
  "luminance": 0.58897
}

Semantic roles & 50–950 ramp

primary
#D4CD73
secondary
#4A50A1
accent
#30C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D4CD73

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

Preview Lab → · Contrast checker → · Palette generator →

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