#D7CA73#D7CA73

#D7CA73 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.110 H 100.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D7CA73
RGBrgb(215, 202, 115)
HSLhsl(52, 56%, 65%)
HSVhsv(52, 47%, 84%)
CMYKcmyk(0%, 6%, 46.5%, 15.7%)
CIE-LABlab(80.70, -7.24, 44.83)
CIE-LCHlch(80.70, 45.41, 99.17°)
OKLaboklab(83.11% -0.0207 0.1075)
OKLCHoklch(83.11% 0.11 100.9)
XYZxyz(52.2407, 57.9276, 24.6456)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA73 #7380D7
analogous
#D79873 #D7CA73 #B2D773
triadic
#D7CA73 #73D7CA #CA73D7
tetradic
#D7CA73 #73D798 #7380D7 #D773B2
square
#D7CA73 #73D798 #7380D7 #D773B2
split-complementary
#D7CA73 #73B2D7 #9873D7
monochromatic
#A1922E #C9B843 #D7CA73 #E5DCA3 #F2EED2

Accessibility & contrast

On white

1.67
#D7CA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D7CA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA73
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA73#FFFFFF#000000##000000
##D7CA731.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56C
Deuteranopia (green-blind)
#DCCB77
Tritanopia (blue-blind)
#E4BFB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca73;
/* rgb */ color: rgb(215, 202, 115);
/* oklch */ color: oklch(83.1% 0.110 100.9);
Tailwind
colors: {
  custom: {
    50: '#e5d99d',
    500: '#d7ca73',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca73;
$custom-light: #e5d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca73",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 52.2,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83111,
    "c": 0.1095,
    "h": 100.9
  },
  "luminance": 0.57926
}

Semantic roles & 50–950 ramp

primary
#D7CA73
secondary
#4955A5
accent
#37C322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7CA73

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

Preview Lab → · Contrast checker → · Palette generator →

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