#D2CC5E#D2CC5E

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

Color values

HEX#D2CC5E
RGBrgb(210, 204, 94)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 55%, 82%)
CMYKcmyk(0%, 2.9%, 55.2%, 17.6%)
CIE-LABlab(80.57, -12.10, 54.58)
CIE-LCHlch(80.57, 55.91, 102.50°)
OKLaboklab(82.83% -0.0366 0.127)
OKLCHoklch(82.83% 0.132 106.1)
XYZxyz(50.1931, 57.6971, 19.0802)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC5E #5E64D2
analogous
#D2925E #D2CC5E #9ED25E
triadic
#D2CC5E #5ED2CC #CC5ED2
tetradic
#D2CC5E #5ED292 #5E64D2 #D25E9E
square
#D2CC5E #5ED292 #5E64D2 #D25E9E
split-complementary
#D2CC5E #5E9ED2 #925ED2
monochromatic
#8E8928 #BEB735 #D2CC5E #DFDB8E #EDEABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CC5E#FFFFFF#000000##000000
##D2CC5E1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc5e;
/* rgb */ color: rgb(210, 204, 94);
/* oklch */ color: oklch(82.8% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#e2db8f',
    500: '#d2cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc5e;
$custom-light: #e2db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc5e",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 56.897,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82831,
    "c": 0.13215,
    "h": 106.1
  },
  "luminance": 0.57696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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