#D1CC56#D1CC56

#D1CC56 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.139 H 106.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D1CC56
RGBrgb(209, 204, 86)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 59%, 82%)
CMYKcmyk(0%, 2.4%, 58.9%, 18%)
CIE-LABlab(80.41, -13.11, 57.96)
CIE-LCHlch(80.41, 59.42, 102.74°)
OKLaboklab(82.66% -0.0402 0.1333)
OKLCHoklch(82.66% 0.139 106.8)
XYZxyz(49.5686, 57.4145, 17.2733)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC56 #565BD1
analogous
#D18E56 #D1CC56 #98D156
triadic
#D1CC56 #56D1CC #CC56D1
tetradic
#D1CC56 #56D18E #565BD1 #D15698
square
#D1CC56 #56D18E #565BD1 #D15698
split-complementary
#D1CC56 #5698D1 #8E56D1
monochromatic
#888425 #B8B232 #D1CC56 #DEDB86 #EBE9B6

Accessibility & contrast

On white

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

On black

12.48
#D1CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC56
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC56#FFFFFF#000000##000000
##D1CC561.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#DECA5D
Tritanopia (blue-blind)
#DFC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc56;
/* rgb */ color: rgb(209, 204, 86);
/* oklch */ color: oklch(82.7% 0.139 106.8);
Tailwind
colors: {
  custom: {
    50: '#e2db8a',
    500: '#d1cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc56;
$custom-light: #e2db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc56",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 57.561,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82661,
    "c": 0.13921,
    "h": 106.8
  },
  "luminance": 0.57413
}

Semantic roles & 50–950 ramp

primary
#D1CC56
secondary
#3D408E
accent
#4EE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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