#D2CC53#D2CC53

#D2CC53 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.142 H 106.4°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D2CC53
RGBrgb(210, 204, 83)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 2.9%, 60.5%, 17.6%)
CIE-LABlab(80.47, -12.90, 59.34)
CIE-LCHlch(80.47, 60.73, 102.26°)
OKLaboklab(82.72% -0.04 0.1358)
OKLCHoklch(82.72% 0.142 106.4)
XYZxyz(49.7342, 57.5135, 16.6633)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC53 #5359D2
analogous
#D28C53 #D2CC53 #99D253
triadic
#D2CC53 #53D2CC #CC53D2
tetradic
#D2CC53 #53D28C #5359D2 #D25399
square
#D2CC53 #53D28C #5359D2 #D25399
split-complementary
#D2CC53 #5399D2 #8C53D2
monochromatic
#878323 #B8B130 #D2CC53 #DFDA84 #EBE9B4

Accessibility & contrast

On white

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

On black

12.50
#D2CC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC53
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC53#FFFFFF#000000##000000
##D2CC531.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC545
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#E0C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc53;
/* rgb */ color: rgb(210, 204, 83);
/* oklch */ color: oklch(82.7% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#e3db88',
    500: '#d2cc53',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc53;
$custom-light: #e3db88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc53",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 83
  },
  "hsl": {
    "h": 57.165,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.14156,
    "h": 106.4
  },
  "luminance": 0.57512
}

Semantic roles & 50–950 ramp

primary
#D2CC53
secondary
#3B3F8E
accent
#4DE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC53

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

Preview Lab → · Contrast checker → · Palette generator →

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