#D2C960#D2C960

#D2C960 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.127 H 104.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D2C960
RGBrgb(210, 201, 96)
HSLhsl(55, 56%, 60%)
HSVhsv(55, 54%, 82%)
CMYKcmyk(0%, 4.3%, 54.3%, 17.6%)
CIE-LABlab(79.80, -10.43, 52.77)
CIE-LCHlch(79.80, 53.79, 101.18°)
OKLaboklab(82.22% -0.0316 0.1233)
OKLCHoklch(82.22% 0.127 104.4)
XYZxyz(49.5778, 56.3211, 19.3235)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C960 #6069D2
analogous
#D29060 #D2C960 #A2D260
triadic
#D2C960 #60D2C9 #C960D2
tetradic
#D2C960 #60D290 #6069D2 #D260A2
square
#D2C960 #60D290 #6069D2 #D260A2
split-complementary
#D2C960 #60A2D2 #9060D2
monochromatic
#8F8729 #BFB436 #D2C960 #DFD990 #EDE9BF

Accessibility & contrast

On white

1.71
#D2C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D2C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C960
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C960#FFFFFF#000000##000000
##D2C9601.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C356
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#E0BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c960;
/* rgb */ color: rgb(210, 201, 96);
/* oklch */ color: oklch(82.2% 0.127 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d990',
    500: '#d2c960',
    950: '#000000',
  },
}
SCSS
$custom: #d2c960;
$custom-light: #e2d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c960",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 55.263,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.82223,
    "c": 0.12729,
    "h": 104.4
  },
  "luminance": 0.56319
}

Semantic roles & 50–950 ramp

primary
#D2C960
secondary
#414895
accent
#55DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C960

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

Preview Lab → · Contrast checker → · Palette generator →

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