#D5CA72#D5CA72

#D5CA72 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.110 H 102.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D5CA72
RGBrgb(213, 202, 114)
HSLhsl(53, 54%, 64%)
HSVhsv(53, 46%, 84%)
CMYKcmyk(0%, 5.2%, 46.5%, 16.5%)
CIE-LABlab(80.52, -8.14, 45.07)
CIE-LCHlch(80.52, 45.80, 100.24°)
OKLaboklab(82.92% -0.0233 0.108)
OKLCHoklch(82.92% 0.11 102.2)
XYZxyz(51.5997, 57.6037, 24.3169)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA72 #727DD5
analogous
#D59972 #D5CA72 #AFD572
triadic
#D5CA72 #72D5CA #CA72D5
tetradic
#D5CA72 #72D599 #727DD5 #D572AF
square
#D5CA72 #72D599 #727DD5 #D572AF
split-complementary
#D5CA72 #72AFD5 #9972D5
monochromatic
#9E912F #C7B843 #D5CA72 #E3DCA1 #F1EDD0

Accessibility & contrast

On white

1.68
#D5CA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#D5CA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA72
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA72#FFFFFF#000000##000000
##D5CA721.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56B
Deuteranopia (green-blind)
#DCCA76
Tritanopia (blue-blind)
#E2BFB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5ca72;
/* rgb */ color: rgb(213, 202, 114);
/* oklch */ color: oklch(82.9% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#e4da9c',
    500: '#d5ca72',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca72;
$custom-light: #e4da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca72",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 53.333,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82923,
    "c": 0.11049,
    "h": 102.2
  },
  "luminance": 0.57602
}

Semantic roles & 50–950 ramp

primary
#D5CA72
secondary
#4953A2
accent
#35C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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