#D1CD74#D1CD74

#D1CD74 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.112 H 106.3°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D1CD74
RGBrgb(209, 205, 116)
HSLhsl(57, 50%, 64%)
HSVhsv(57, 44%, 82%)
CMYKcmyk(0%, 1.9%, 44.5%, 18%)
CIE-LABlab(81.00, -11.08, 44.61)
CIE-LCHlch(81.00, 45.97, 103.95°)
OKLaboklab(83.24% -0.0314 0.1072)
OKLCHoklch(83.24% 0.112 106.3)
XYZxyz(51.2792, 58.4802, 25.1062)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD74 #7478D1
analogous
#D19E74 #D1CD74 #A6D174
triadic
#D1CD74 #74D1CD #CD74D1
tetradic
#D1CD74 #74D19E #7478D1 #D174A6
square
#D1CD74 #74D19E #7478D1 #D174A6
split-complementary
#D1CD74 #74A6D1 #9E74D1
monochromatic
#989432 #C2BC46 #D1CD74 #E0DEA2 #EFEED0

Accessibility & contrast

On white

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

On black

12.70
#D1CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD74
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD74#FFFFFF#000000##000000
##D1CD741.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76D
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#DDC3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd74;
/* rgb */ color: rgb(209, 205, 116);
/* oklch */ color: oklch(83.2% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1dc9e',
    500: '#d1cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd74;
$custom-light: #e1dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd74",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 57.419,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83239,
    "c": 0.11166,
    "h": 106.3
  },
  "luminance": 0.58479
}

Semantic roles & 50–950 ramp

primary
#D1CD74
secondary
#4C4F9E
accent
#2EBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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