#D8CA73#D8CA73

#D8CA73 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.110 H 100.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D8CA73
RGBrgb(216, 202, 115)
HSLhsl(52, 56%, 65%)
HSVhsv(52, 47%, 85%)
CMYKcmyk(0%, 6.5%, 46.8%, 15.3%)
CIE-LABlab(80.78, -6.83, 44.96)
CIE-LCHlch(80.78, 45.47, 98.64°)
OKLaboklab(83.2% -0.0196 0.1078)
OKLCHoklch(83.2% 0.11 100.3)
XYZxyz(52.5353, 58.0795, 24.6595)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA73 #7381D8
analogous
#D89773 #D8CA73 #B4D873
triadic
#D8CA73 #73D8CA #CA73D8
tetradic
#D8CA73 #73D897 #7381D8 #D873B4
square
#D8CA73 #73D897 #7381D8 #D873B4
split-complementary
#D8CA73 #73B4D8 #9773D8
monochromatic
#A3932D #CBB843 #D8CA73 #E5DCA3 #F3EED3

Accessibility & contrast

On white

1.66
#D8CA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D8CA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA73
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA73#FFFFFF#000000##000000
##D8CA731.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56C
Deuteranopia (green-blind)
#DDCB77
Tritanopia (blue-blind)
#E5BFB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca73;
/* rgb */ color: rgb(216, 202, 115);
/* oklch */ color: oklch(83.2% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#e6d99d',
    500: '#d8ca73',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca73;
$custom-light: #e6d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca73",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 51.683,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83198,
    "c": 0.10955,
    "h": 100.3
  },
  "luminance": 0.58078
}

Semantic roles & 50–950 ramp

primary
#D8CA73
secondary
#4855A7
accent
#38C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CA73

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

Preview Lab → · Contrast checker → · Palette generator →

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