#D2CC73#D2CC73

#D2CC73 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.112 H 105.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CC73
RGBrgb(210, 204, 115)
HSLhsl(56, 51%, 64%)
HSVhsv(56, 45%, 82%)
CMYKcmyk(0%, 2.9%, 45.2%, 17.6%)
CIE-LABlab(80.81, -10.27, 44.88)
CIE-LCHlch(80.81, 46.04, 102.89°)
OKLaboklab(83.1% -0.0292 0.1077)
OKLCHoklch(83.1% 0.112 105.2)
XYZxyz(51.2668, 58.1266, 24.7353)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC73 #7379D2
analogous
#D29C73 #D2CC73 #A8D273
triadic
#D2CC73 #73D2CC #CC73D2
tetradic
#D2CC73 #73D29C #7379D2 #D273A8
square
#D2CC73 #73D29C #7379D2 #D273A8
split-complementary
#D2CC73 #73A8D2 #9C73D2
monochromatic
#999331 #C3BB45 #D2CC73 #E1DDA1 #F0EED0

Accessibility & contrast

On white

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

On black

12.63
#D2CC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC73
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC73#FFFFFF#000000##000000
##D2CC731.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66C
Deuteranopia (green-blind)
#DCCB77
Tritanopia (blue-blind)
#DEC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cc73;
/* rgb */ color: rgb(210, 204, 115);
/* oklch */ color: oklch(83.1% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#e1db9d',
    500: '#d2cc73',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc73;
$custom-light: #e1db9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc73",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 56.211,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.11157,
    "h": 105.2
  },
  "luminance": 0.58125
}

Semantic roles & 50–950 ramp

primary
#D2CC73
secondary
#4B509F
accent
#30BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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