#D2CC5D#D2CC5D

#D2CC5D is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.133 H 106.1°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D2CC5D
RGBrgb(210, 204, 93)
HSLhsl(57, 57%, 59%)
HSVhsv(57, 56%, 82%)
CMYKcmyk(0%, 2.9%, 55.7%, 17.6%)
CIE-LABlab(80.56, -12.18, 55.02)
CIE-LCHlch(80.56, 56.36, 102.48°)
OKLaboklab(82.82% -0.0369 0.1278)
OKLCHoklch(82.82% 0.133 106.1)
XYZxyz(50.1485, 57.6792, 18.8454)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC5D #5D63D2
analogous
#D2925D #D2CC5D #9ED25D
triadic
#D2CC5D #5DD2CC #CC5DD2
tetradic
#D2CC5D #5DD292 #5D63D2 #D25D9E
square
#D2CC5D #5DD292 #5D63D2 #D25D9E
split-complementary
#D2CC5D #5D9ED2 #925DD2
monochromatic
#8D8827 #BDB635 #D2CC5D #DFDB8D #EDEABD

Accessibility & contrast

On white

1.68
#D2CC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D2CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC5D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC5D#FFFFFF#000000##000000
##D2CC5D1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc5d;
/* rgb */ color: rgb(210, 204, 93);
/* oklch */ color: oklch(82.8% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#e2db8e',
    500: '#d2cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc5d;
$custom-light: #e2db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc5d",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 56.923,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8282,
    "c": 0.13305,
    "h": 106.1
  },
  "luminance": 0.57678
}

Semantic roles & 50–950 ramp

primary
#D2CC5D
secondary
#404493
accent
#50E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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