#D2CC62#D2CC62

#D2CC62 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.55:1 contrast (WCAG AA passes).

Color values

HEX#D2CC62
RGBrgb(210, 204, 98)
HSLhsl(57, 55%, 60%)
HSVhsv(57, 53%, 82%)
CMYKcmyk(0%, 2.9%, 53.3%, 17.6%)
CIE-LABlab(80.61, -11.79, 52.79)
CIE-LCHlch(80.61, 54.09, 102.59°)
OKLaboklab(82.88% -0.0352 0.1236)
OKLCHoklch(82.88% 0.128 105.9)
XYZxyz(50.3772, 57.7707, 20.0501)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC62 #6268D2
analogous
#D29462 #D2CC62 #A0D262
triadic
#D2CC62 #62D2CC #CC62D2
tetradic
#D2CC62 #62D294 #6268D2 #D262A0
square
#D2CC62 #62D294 #6268D2 #D262A0
split-complementary
#D2CC62 #62A0D2 #9462D2
monochromatic
#908B29 #C0B837 #D2CC62 #E0DB92 #EDEBC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CC62#FFFFFF#000000##000000
##D2CC621.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)
#DBC558
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#DFC0B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc62;
/* rgb */ color: rgb(210, 204, 98);
/* oklch */ color: oklch(82.9% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2db92',
    500: '#d2cc62',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc62;
$custom-light: #e2db92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc62",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 56.786,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82877,
    "c": 0.12848,
    "h": 105.9
  },
  "luminance": 0.57769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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