#D2CA72#D2CA72

#D2CA72 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.110 H 104.0°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D2CA72
RGBrgb(210, 202, 114)
HSLhsl(55, 52%, 64%)
HSVhsv(55, 46%, 82%)
CMYKcmyk(0%, 3.8%, 45.7%, 17.6%)
CIE-LABlab(80.27, -9.35, 44.71)
CIE-LCHlch(80.27, 45.67, 101.81°)
OKLaboklab(82.67% -0.0266 0.1072)
OKLCHoklch(82.67% 0.11 104)
XYZxyz(50.7373, 57.1591, 24.2764)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA72 #727AD2
analogous
#D29A72 #D2CA72 #AAD272
triadic
#D2CA72 #72D2CA #CA72D2
tetradic
#D2CA72 #72D29A #727AD2 #D272AA
square
#D2CA72 #72D29A #727AD2 #D272AA
split-complementary
#D2CA72 #72AAD2 #9A72D2
monochromatic
#999031 #C3B944 #D2CA72 #E1DBA0 #F0EDCF

Accessibility & contrast

On white

1.69
#D2CA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D2CA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA72
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA72#FFFFFF#000000##000000
##D2CA721.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46B
Deuteranopia (green-blind)
#DBC976
Tritanopia (blue-blind)
#DEC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2ca72;
/* rgb */ color: rgb(210, 202, 114);
/* oklch */ color: oklch(82.7% 0.110 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1da9c',
    500: '#d2ca72',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca72;
$custom-light: #e1da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca72",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 55,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82666,
    "c": 0.11049,
    "h": 104
  },
  "luminance": 0.57158
}

Semantic roles & 50–950 ramp

primary
#D2CA72
secondary
#4A519E
accent
#33BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CA72

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

Preview Lab → · Contrast checker → · Palette generator →

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