#D6CC52#D6CC52

#D6CC52 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.142 H 104.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D6CC52
RGBrgb(214, 204, 82)
HSLhsl(55, 62%, 58%)
HSVhsv(55, 62%, 84%)
CMYKcmyk(0%, 4.7%, 61.7%, 16.1%)
CIE-LABlab(80.79, -11.30, 60.22)
CIE-LCHlch(80.79, 61.27, 100.63°)
OKLaboklab(83.05% -0.0359 0.1374)
OKLCHoklch(83.05% 0.142 104.6)
XYZxyz(50.8492, 58.0929, 16.5155)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC52 #525CD6
analogous
#D68A52 #D6CC52 #9ED652
triadic
#D6CC52 #52D6CC #CC52D6
tetradic
#D6CC52 #52D68A #525CD6 #D6529E
square
#D6CC52 #52D68A #525CD6 #D6529E
split-complementary
#D6CC52 #529ED6 #8A52D6
monochromatic
#8C8421 #BEB32D #D6CC52 #E2DB83 #EDE9B5

Accessibility & contrast

On white

1.66
#D6CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D6CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC52
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC52#FFFFFF#000000##000000
##D6CC521.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E5BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cc52;
/* rgb */ color: rgb(214, 204, 82);
/* oklch */ color: oklch(83.1% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e6db88',
    500: '#d6cc52',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc52;
$custom-light: #e6db88;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc52",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 55.455,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83051,
    "c": 0.142,
    "h": 104.6
  },
  "luminance": 0.58091
}

Semantic roles & 50–950 ramp

primary
#D6CC52
secondary
#3A4192
accent
#4FE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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