#D2CC56#D2CC56

#D2CC56 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.139 H 106.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D2CC56
RGBrgb(210, 204, 86)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 2.9%, 59%, 17.6%)
CIE-LABlab(80.49, -12.69, 58.07)
CIE-LCHlch(80.49, 59.44, 102.33°)
OKLaboklab(82.75% -0.0391 0.1335)
OKLCHoklch(82.75% 0.139 106.3)
XYZxyz(49.8525, 57.5608, 17.2866)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC56 #565CD2
analogous
#D28E56 #D2CC56 #9AD256
triadic
#D2CC56 #56D2CC #CC56D2
tetradic
#D2CC56 #56D28E #565CD2 #D2569A
square
#D2CC56 #56D28E #565CD2 #D2569A
split-complementary
#D2CC56 #569AD2 #8E56D2
monochromatic
#898425 #B9B331 #D2CC56 #DFDB86 #ECE9B7

Accessibility & contrast

On white

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

On black

12.51
#D2CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC56
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC56#FFFFFF#000000##000000
##D2CC561.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc56;
/* rgb */ color: rgb(210, 204, 86);
/* oklch */ color: oklch(82.7% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#e3db8a',
    500: '#d2cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc56;
$custom-light: #e3db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc56",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 57.097,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82746,
    "c": 0.1391,
    "h": 106.3
  },
  "luminance": 0.57559
}

Semantic roles & 50–950 ramp

primary
#D2CC56
secondary
#3D4190
accent
#4EE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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