#D2CC63#D2CC63

#D2CC63 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.128 H 105.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D2CC63
RGBrgb(210, 204, 99)
HSLhsl(57, 55%, 61%)
HSVhsv(57, 53%, 82%)
CMYKcmyk(0%, 2.9%, 52.9%, 17.6%)
CIE-LABlab(80.62, -11.71, 52.33)
CIE-LCHlch(80.62, 53.63, 102.61°)
OKLaboklab(82.89% -0.0349 0.1227)
OKLCHoklch(82.89% 0.128 105.9)
XYZxyz(50.4248, 57.7897, 20.3003)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC63 #6369D2
analogous
#D29463 #D2CC63 #A0D263
triadic
#D2CC63 #63D2CC #CC63D2
tetradic
#D2CC63 #63D294 #6369D2 #D263A0
square
#D2CC63 #63D294 #6369D2 #D263A0
split-complementary
#D2CC63 #63A0D2 #9463D2
monochromatic
#918B2A #C0B937 #D2CC63 #E0DC92 #EDEBC2

Accessibility & contrast

On white

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

On black

12.56
#D2CC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC63
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC63#FFFFFF#000000##000000
##D2CC631.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC559
Deuteranopia (green-blind)
#DECA68
Tritanopia (blue-blind)
#DFC0B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc63;
/* rgb */ color: rgb(210, 204, 99);
/* oklch */ color: oklch(82.9% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2db92',
    500: '#d2cc63',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc63;
$custom-light: #e2db92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc63",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 99
  },
  "hsl": {
    "h": 56.757,
    "s": 55.224,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82889,
    "c": 0.12754,
    "h": 105.9
  },
  "luminance": 0.57788
}

Semantic roles & 50–950 ramp

primary
#D2CC63
secondary
#434797
accent
#2BC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC63

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

Preview Lab → · Contrast checker → · Palette generator →

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