#D4CD74#D4CD74

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

Color values

HEX#D4CD74
RGBrgb(212, 205, 116)
HSLhsl(56, 53%, 64%)
HSVhsv(56, 45%, 83%)
CMYKcmyk(0%, 3.3%, 45.3%, 16.9%)
CIE-LABlab(81.25, -9.88, 44.96)
CIE-LCHlch(81.25, 46.04, 102.39°)
OKLaboklab(83.49% -0.0281 0.1079)
OKLCHoklch(83.49% 0.112 104.6)
XYZxyz(52.1362, 58.9221, 25.1463)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD74 #747BD4
analogous
#D49D74 #D4CD74 #ABD474
triadic
#D4CD74 #74D4CD #CD74D4
tetradic
#D4CD74 #74D49D #747BD4 #D474AB
square
#D4CD74 #74D49D #747BD4 #D474AB
split-complementary
#D4CD74 #74ABD4 #9D74D4
monochromatic
#9D9531 #C6BC45 #D4CD74 #E2DEA3 #F1EFD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CD74#FFFFFF#000000##000000
##D4CD741.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)
#DBC76D
Deuteranopia (green-blind)
#DECC78
Tritanopia (blue-blind)
#E0C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cd74;
/* rgb */ color: rgb(212, 205, 116);
/* oklch */ color: oklch(83.5% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3dc9e',
    500: '#d4cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd74;
$custom-light: #e3dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd74",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 55.625,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83492,
    "c": 0.11151,
    "h": 104.6
  },
  "luminance": 0.58921
}

Semantic roles & 50–950 ramp

primary
#D4CD74
secondary
#4A51A2
accent
#31C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D4CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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