#D2CD60#D2CD60

#D2CD60 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.131 H 106.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CD60
RGBrgb(210, 205, 96)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 54%, 82%)
CMYKcmyk(0%, 2.4%, 54.3%, 17.6%)
CIE-LABlab(80.86, -12.45, 53.99)
CIE-LCHlch(80.86, 55.41, 102.99°)
OKLaboklab(83.07% -0.0374 0.1259)
OKLCHoklch(83.07% 0.131 106.5)
XYZxyz(50.5224, 58.2103, 19.6384)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD60 #6065D2
analogous
#D29460 #D2CD60 #9ED260
triadic
#D2CD60 #60D2CD #CD60D2
tetradic
#D2CD60 #60D294 #6065D2 #D2609E
square
#D2CD60 #60D294 #6065D2 #D2609E
split-complementary
#D2CD60 #609ED2 #9460D2
monochromatic
#8F8B29 #BFB936 #D2CD60 #DFDC90 #EDEBBF

Accessibility & contrast

On white

1.66
#D2CD60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D2CD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD60
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD60#FFFFFF#000000##000000
##D2CD601.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC655
Deuteranopia (green-blind)
#DFCB66
Tritanopia (blue-blind)
#DFC1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd60;
/* rgb */ color: rgb(210, 205, 96);
/* oklch */ color: oklch(83.1% 0.131 106.5);
Tailwind
colors: {
  custom: {
    50: '#e2dc90',
    500: '#d2cd60',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd60;
$custom-light: #e2dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd60",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 96
  },
  "hsl": {
    "h": 57.368,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.83065,
    "c": 0.13136,
    "h": 106.5
  },
  "luminance": 0.58209
}

Semantic roles & 50–950 ramp

primary
#D2CD60
secondary
#414595
accent
#4FDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD60

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

Preview Lab → · Contrast checker → · Palette generator →

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