#D7CC56#D7CC56

#D7CC56 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.139 H 104.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D7CC56
RGBrgb(215, 204, 86)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 5.1%, 60%, 15.7%)
CIE-LABlab(80.91, -10.62, 58.65)
CIE-LCHlch(80.91, 59.60, 100.26°)
OKLaboklab(83.18% -0.0335 0.1346)
OKLCHoklch(83.18% 0.139 104)
XYZxyz(51.2987, 58.3065, 17.3544)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CC56 #5661D7
analogous
#D78C56 #D7CC56 #A2D756
triadic
#D7CC56 #56D7CC #CC56D7
tetradic
#D7CC56 #56D78C #5661D7 #D756A2
square
#D7CC56 #56D78C #5661D7 #D756A2
split-complementary
#D7CC56 #56A2D7 #8C56D7
monochromatic
#908722 #C2B52E #D7CC56 #E3DB87 #EEEAB9

Accessibility & contrast

On white

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

On black

12.66
#D7CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CC56
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CC56#FFFFFF#000000##000000
##D7CC561.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E0CC5C
Tritanopia (blue-blind)
#E6BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cc56;
/* rgb */ color: rgb(215, 204, 86);
/* oklch */ color: oklch(83.2% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#e6db8a',
    500: '#d7cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d7cc56;
$custom-light: #e6db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cc56",
  "rgb": {
    "r": 215,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 54.884,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83177,
    "c": 0.1387,
    "h": 104
  },
  "luminance": 0.58305
}

Semantic roles & 50–950 ramp

primary
#D7CC56
secondary
#3B4396
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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