#D2CA73#D2CA73

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

Color values

HEX#D2CA73
RGBrgb(210, 202, 115)
HSLhsl(55, 51%, 64%)
HSVhsv(55, 45%, 82%)
CMYKcmyk(0%, 3.8%, 45.2%, 17.6%)
CIE-LABlab(80.28, -9.25, 44.23)
CIE-LCHlch(80.28, 45.19, 101.82°)
OKLaboklab(82.68% -0.0263 0.1062)
OKLCHoklch(82.68% 0.109 103.9)
XYZxyz(50.7945, 57.1819, 24.5779)
Luminance0.5718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA73 #737BD2
analogous
#D29A73 #D2CA73 #AAD273
triadic
#D2CA73 #73D2CA #CA73D2
tetradic
#D2CA73 #73D29A #737BD2 #D273AA
square
#D2CA73 #73D29A #737BD2 #D273AA
split-complementary
#D2CA73 #73AAD2 #9A73D2
monochromatic
#999131 #C3B845 #D2CA73 #E1DCA1 #F0EDD0

Accessibility & contrast

On white

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

On black

12.44
#D2CA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA73
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA73#FFFFFF#000000##000000
##D2CA731.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca73;
/* rgb */ color: rgb(210, 202, 115);
/* oklch */ color: oklch(82.7% 0.109 103.9);
Tailwind
colors: {
  custom: {
    50: '#e1da9d',
    500: '#d2ca73',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca73;
$custom-light: #e1da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca73",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 54.947,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.10943,
    "h": 103.9
  },
  "luminance": 0.57181
}

Semantic roles & 50–950 ramp

primary
#D2CA73
secondary
#4B529F
accent
#34BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D2CA73

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

Preview Lab → · Contrast checker → · Palette generator →

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