#D6CC56#D6CC56

#D6CC56 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.139 H 104.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D6CC56
RGBrgb(214, 204, 86)
HSLhsl(55, 61%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 4.7%, 59.8%, 16.1%)
CIE-LABlab(80.83, -11.03, 58.53)
CIE-LCHlch(80.83, 59.56, 100.68°)
OKLaboklab(83.09% -0.0347 0.1344)
OKLCHoklch(83.09% 0.139 104.5)
XYZxyz(51.0059, 58.1555, 17.3407)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC56 #5660D6
analogous
#D68C56 #D6CC56 #A0D656
triadic
#D6CC56 #56D6CC #CC56D6
tetradic
#D6CC56 #56D68C #5660D6 #D656A0
square
#D6CC56 #56D68C #5660D6 #D656A0
split-complementary
#D6CC56 #56A0D6 #8C56D6
monochromatic
#8F8623 #C0B52F #D6CC56 #E2DB87 #EEEAB9

Accessibility & contrast

On white

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

On black

12.63
#D6CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC56
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC56#FFFFFF#000000##000000
##D6CC561.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#E5BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cc56;
/* rgb */ color: rgb(214, 204, 86);
/* oklch */ color: oklch(83.1% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e5db8a',
    500: '#d6cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc56;
$custom-light: #e5db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc56",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 55.313,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8309,
    "c": 0.13876,
    "h": 104.5
  },
  "luminance": 0.58154
}

Semantic roles & 50–950 ramp

primary
#D6CC56
secondary
#3C4395
accent
#50E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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