#D5CC56#D5CC56

#D5CC56 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.139 H 104.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D5CC56
RGBrgb(213, 204, 86)
HSLhsl(56, 60%, 59%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 4.2%, 59.6%, 16.5%)
CIE-LABlab(80.74, -11.45, 58.42)
CIE-LCHlch(80.74, 59.53, 101.09°)
OKLaboklab(83% -0.0358 0.1341)
OKLCHoklch(83% 0.139 104.9)
XYZxyz(50.7149, 58.0055, 17.3270)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC56 #565FD5
analogous
#D58C56 #D5CC56 #9ED556
triadic
#D5CC56 #56D5CC #CC56D5
tetradic
#D5CC56 #56D58C #565FD5 #D5569E
square
#D5CC56 #56D58C #565FD5 #D5569E
split-complementary
#D5CC56 #569ED5 #8C56D5
monochromatic
#8D8623 #BEB42F #D5CC56 #E1DB87 #EDEAB8

Accessibility & contrast

On white

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

On black

12.60
#D5CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC56
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC56#FFFFFF#000000##000000
##D5CC561.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cc56;
/* rgb */ color: rgb(213, 204, 86);
/* oklch */ color: oklch(83.0% 0.139 104.9);
Tailwind
colors: {
  custom: {
    50: '#e5db8a',
    500: '#d5cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc56;
$custom-light: #e5db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc56",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 55.748,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83003,
    "c": 0.13883,
    "h": 104.9
  },
  "luminance": 0.58004
}

Semantic roles & 50–950 ramp

primary
#D5CC56
secondary
#3C4293
accent
#50E344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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