#D2C560#D2C560

#D2C560 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.123 H 102.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D2C560
RGBrgb(210, 197, 96)
HSLhsl(53, 56%, 60%)
HSVhsv(53, 54%, 82%)
CMYKcmyk(0%, 6.2%, 54.3%, 17.6%)
CIE-LABlab(78.74, -8.38, 51.55)
CIE-LCHlch(78.74, 52.23, 99.24°)
OKLaboklab(81.38% -0.0257 0.1207)
OKLCHoklch(81.38% 0.123 102)
XYZxyz(48.6575, 54.4804, 19.0168)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C560 #606DD2
analogous
#D28C60 #D2C560 #A6D260
triadic
#D2C560 #60D2C5 #C560D2
tetradic
#D2C560 #60D28C #606DD2 #D260A6
square
#D2C560 #60D28C #606DD2 #D260A6
split-complementary
#D2C560 #60A6D2 #8C60D2
monochromatic
#8F8329 #BFAF36 #D2C560 #DFD690 #EDE8BF

Accessibility & contrast

On white

1.77
#D2C560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D2C560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C560
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C560#FFFFFF#000000##000000
##D2C5601.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#E0B9AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c560;
/* rgb */ color: rgb(210, 197, 96);
/* oklch */ color: oklch(81.4% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#e2d690',
    500: '#d2c560',
    950: '#000000',
  },
}
SCSS
$custom: #d2c560;
$custom-light: #e2d690;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c560",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 53.158,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.81384,
    "c": 0.12338,
    "h": 102
  },
  "luminance": 0.54479
}

Semantic roles & 50–950 ramp

primary
#D2C560
secondary
#414B95
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C560

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

Preview Lab → · Contrast checker → · Palette generator →

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