#D9CD74#D9CD74

#D9CD74 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.112 H 101.7°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D9CD74
RGBrgb(217, 205, 116)
HSLhsl(53, 57%, 65%)
HSVhsv(53, 47%, 85%)
CMYKcmyk(0%, 5.5%, 46.5%, 14.9%)
CIE-LABlab(81.66, -7.87, 45.56)
CIE-LCHlch(81.66, 46.24, 99.80°)
OKLaboklab(83.92% -0.0226 0.1092)
OKLCHoklch(83.92% 0.112 101.7)
XYZxyz(53.6003, 59.6770, 25.2150)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD74 #7480D9
analogous
#D99A74 #D9CD74 #B3D974
triadic
#D9CD74 #74D9CD #CD74D9
tetradic
#D9CD74 #74D99A #7480D9 #D974B3
square
#D9CD74 #74D99A #7480D9 #D974B3
split-complementary
#D9CD74 #74B3D9 #9A74D9
monochromatic
#A5972D #CCBC44 #D9CD74 #E6DEA4 #F3F0D4

Accessibility & contrast

On white

1.62
#D9CD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D9CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD74
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD74#FFFFFF#000000##000000
##D9CD741.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC86D
Deuteranopia (green-blind)
#DFCD78
Tritanopia (blue-blind)
#E6C2B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd74;
/* rgb */ color: rgb(217, 205, 116);
/* oklch */ color: oklch(83.9% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#e6dc9e',
    500: '#d9cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd74;
$custom-light: #e6dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd74",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 52.871,
    "s": 57.062,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8392,
    "c": 0.1115,
    "h": 101.7
  },
  "luminance": 0.59675
}

Semantic roles & 50–950 ramp

primary
#D9CD74
secondary
#4854A9
accent
#34C521
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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