#D2CC64#D2CC64

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

Color values

HEX#D2CC64
RGBrgb(210, 204, 100)
HSLhsl(57, 55%, 61%)
HSVhsv(57, 52%, 82%)
CMYKcmyk(0%, 2.9%, 52.4%, 17.6%)
CIE-LABlab(80.63, -11.62, 51.88)
CIE-LCHlch(80.63, 53.17, 102.63°)
OKLaboklab(82.9% -0.0346 0.1218)
OKLCHoklch(82.9% 0.127 105.8)
XYZxyz(50.4729, 57.8090, 20.5536)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC64 #646AD2
analogous
#D29564 #D2CC64 #A1D264
triadic
#D2CC64 #64D2CC #CC64D2
tetradic
#D2CC64 #64D295 #646AD2 #D264A1
square
#D2CC64 #64D295 #646AD2 #D264A1
split-complementary
#D2CC64 #64A1D2 #9564D2
monochromatic
#918C2A #C1B938 #D2CC64 #E0DC93 #EEEBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CC64#FFFFFF#000000##000000
##D2CC641.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)
#DBC55A
Deuteranopia (green-blind)
#DECA69
Tritanopia (blue-blind)
#DFC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc64;
/* rgb */ color: rgb(210, 204, 100);
/* oklch */ color: oklch(82.9% 0.127 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2db93',
    500: '#d2cc64',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc64;
$custom-light: #e2db93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc64",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 100
  },
  "hsl": {
    "h": 56.727,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82901,
    "c": 0.1266,
    "h": 105.8
  },
  "luminance": 0.57807
}

Semantic roles & 50–950 ramp

primary
#D2CC64
secondary
#434897
accent
#2CC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CC64

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

Preview Lab → · Contrast checker → · Palette generator →

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