#D7CD74#D7CD74

#D7CD74 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.111 H 102.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D7CD74
RGBrgb(215, 205, 116)
HSLhsl(54, 55%, 65%)
HSVhsv(54, 46%, 84%)
CMYKcmyk(0%, 4.7%, 46%, 15.7%)
CIE-LABlab(81.50, -8.67, 45.32)
CIE-LCHlch(81.50, 46.15, 100.83°)
OKLaboklab(83.75% -0.0248 0.1087)
OKLCHoklch(83.75% 0.111 102.8)
XYZxyz(53.0093, 59.3723, 25.1873)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD74 #747ED7
analogous
#D79B74 #D7CD74 #B0D774
triadic
#D7CD74 #74D7CD #CD74D7
tetradic
#D7CD74 #74D79B #747ED7 #D774B0
square
#D7CD74 #74D79B #747ED7 #D774B0
split-complementary
#D7CD74 #74B0D7 #9B74D7
monochromatic
#A2962F #C9BC44 #D7CD74 #E5DEA4 #F2EFD3

Accessibility & contrast

On white

1.63
#D7CD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#D7CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD74
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD74#FFFFFF#000000##000000
##D7CD741.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC86D
Deuteranopia (green-blind)
#DFCD78
Tritanopia (blue-blind)
#E4C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd74;
/* rgb */ color: rgb(215, 205, 116);
/* oklch */ color: oklch(83.7% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc9e',
    500: '#d7cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd74;
$custom-light: #e5dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd74",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 53.939,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83747,
    "c": 0.11147,
    "h": 102.8
  },
  "luminance": 0.59371
}

Semantic roles & 50–950 ramp

primary
#D7CD74
secondary
#4953A6
accent
#33C323
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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