#D8CD74#D8CD74

#D8CD74 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.111 H 102.3°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D8CD74
RGBrgb(216, 205, 116)
HSLhsl(53, 56%, 65%)
HSVhsv(53, 46%, 85%)
CMYKcmyk(0%, 5.1%, 46.3%, 15.3%)
CIE-LABlab(81.58, -8.27, 45.44)
CIE-LCHlch(81.58, 46.19, 100.31°)
OKLaboklab(83.83% -0.0237 0.1089)
OKLCHoklch(83.83% 0.111 102.3)
XYZxyz(53.3039, 59.5242, 25.2011)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD74 #747FD8
analogous
#D89B74 #D8CD74 #B1D874
triadic
#D8CD74 #74D8CD #CD74D8
tetradic
#D8CD74 #74D89B #747FD8 #D874B1
square
#D8CD74 #74D89B #747FD8 #D874B1
split-complementary
#D8CD74 #74B1D8 #9B74D8
monochromatic
#A4972E #CBBC44 #D8CD74 #E5DEA4 #F3EFD4

Accessibility & contrast

On white

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

On black

12.90
#D8CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD74
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD74#FFFFFF#000000##000000
##D8CD741.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd74;
/* rgb */ color: rgb(216, 205, 116);
/* oklch */ color: oklch(83.8% 0.111 102.3);
Tailwind
colors: {
  custom: {
    50: '#e6dc9e',
    500: '#d8cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd74;
$custom-light: #e6dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd74",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 53.4,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83833,
    "c": 0.11148,
    "h": 102.3
  },
  "luminance": 0.59523
}

Semantic roles & 50–950 ramp

primary
#D8CD74
secondary
#4953A7
accent
#34C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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