#D2CC5C#D2CC5C

#D2CC5C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.134 H 106.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D2CC5C
RGBrgb(210, 204, 92)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 56%, 82%)
CMYKcmyk(0%, 2.9%, 56.2%, 17.6%)
CIE-LABlab(80.55, -12.26, 55.47)
CIE-LCHlch(80.55, 56.80, 102.46°)
OKLaboklab(82.81% -0.0372 0.1286)
OKLCHoklch(82.81% 0.134 106.1)
XYZxyz(50.1045, 57.6616, 18.6136)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC5C #5C62D2
analogous
#D2915C #D2CC5C #9DD25C
triadic
#D2CC5C #5CD2CC #CC5CD2
tetradic
#D2CC5C #5CD291 #5C62D2 #D25C9D
square
#D2CC5C #5CD291 #5C62D2 #D25C9D
split-complementary
#D2CC5C #5C9DD2 #915CD2
monochromatic
#8D8827 #BDB634 #D2CC5C #DFDB8C #ECEABC

Accessibility & contrast

On white

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

On black

12.53
#D2CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC5C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC5C#FFFFFF#000000##000000
##D2CC5C1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC550
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#E0C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc5c;
/* rgb */ color: rgb(210, 204, 92);
/* oklch */ color: oklch(82.8% 0.134 106.1);
Tailwind
colors: {
  custom: {
    50: '#e2db8e',
    500: '#d2cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc5c;
$custom-light: #e2db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc5c",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 56.949,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82809,
    "c": 0.13393,
    "h": 106.1
  },
  "luminance": 0.5766
}

Semantic roles & 50–950 ramp

primary
#D2CC5C
secondary
#3F4493
accent
#50E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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