#D2CC60#D2CC60

#D2CC60 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.130 H 106.0°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D2CC60
RGBrgb(210, 204, 96)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 54%, 82%)
CMYKcmyk(0%, 2.9%, 54.3%, 17.6%)
CIE-LABlab(80.59, -11.95, 53.69)
CIE-LCHlch(80.59, 55.00, 102.55°)
OKLaboklab(82.85% -0.0359 0.1253)
OKLCHoklch(82.85% 0.13 106)
XYZxyz(50.2840, 57.7334, 19.5589)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC60 #6066D2
analogous
#D29360 #D2CC60 #9FD260
triadic
#D2CC60 #60D2CC #CC60D2
tetradic
#D2CC60 #60D293 #6066D2 #D2609F
square
#D2CC60 #60D293 #6066D2 #D2609F
split-complementary
#D2CC60 #609FD2 #9360D2
monochromatic
#8F8A29 #BFB836 #D2CC60 #DFDB90 #EDEBBF

Accessibility & contrast

On white

1.67
#D2CC60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D2CC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC60
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC60#FFFFFF#000000##000000
##D2CC601.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC555
Deuteranopia (green-blind)
#DECA66
Tritanopia (blue-blind)
#E0C0B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc60;
/* rgb */ color: rgb(210, 204, 96);
/* oklch */ color: oklch(82.9% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2db90',
    500: '#d2cc60',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc60;
$custom-light: #e2db90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc60",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 96
  },
  "hsl": {
    "h": 56.842,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.82854,
    "c": 0.13033,
    "h": 106
  },
  "luminance": 0.57732
}

Semantic roles & 50–950 ramp

primary
#D2CC60
secondary
#414695
accent
#51DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC60

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

Preview Lab → · Contrast checker → · Palette generator →

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