#D3CC56#D3CC56

#D3CC56 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.139 H 105.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D3CC56
RGBrgb(211, 204, 86)
HSLhsl(57, 59%, 58%)
HSVhsv(57, 59%, 83%)
CMYKcmyk(0%, 3.3%, 59.2%, 17.3%)
CIE-LABlab(80.58, -12.28, 58.19)
CIE-LCHlch(80.58, 59.47, 101.92°)
OKLaboklab(82.83% -0.038 0.1337)
OKLCHoklch(82.83% 0.139 105.9)
XYZxyz(50.1382, 57.7081, 17.3000)
Luminance0.5771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC56 #565DD3
analogous
#D38D56 #D3CC56 #9BD356
triadic
#D3CC56 #56D3CC #CC56D3
tetradic
#D3CC56 #56D38D #565DD3 #D3569B
square
#D3CC56 #56D38D #565DD3 #D3569B
split-complementary
#D3CC56 #569BD3 #8D56D3
monochromatic
#8B8524 #BBB331 #D3CC56 #E0DB87 #ECE9B7

Accessibility & contrast

On white

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

On black

12.54
#D3CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC56
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC56#FFFFFF#000000##000000
##D3CC561.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cc56;
/* rgb */ color: rgb(211, 204, 86);
/* oklch */ color: oklch(82.8% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#e3db8a',
    500: '#d3cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc56;
$custom-light: #e3db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc56",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 56.64,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.139,
    "h": 105.9
  },
  "luminance": 0.57707
}

Semantic roles & 50–950 ramp

primary
#D3CC56
secondary
#3C4191
accent
#4FE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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