#D3C856#D3C856

#D3C856 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.135 H 103.8°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D3C856
RGBrgb(211, 200, 86)
HSLhsl(55, 59%, 58%)
HSVhsv(55, 59%, 83%)
CMYKcmyk(0%, 5.2%, 59.2%, 17.3%)
CIE-LABlab(79.52, -10.25, 57.02)
CIE-LCHlch(79.52, 57.93, 100.19°)
OKLaboklab(81.99% -0.0322 0.1312)
OKLCHoklch(81.99% 0.135 103.8)
XYZxyz(49.1997, 55.8311, 16.9871)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C856 #5661D3
analogous
#D38956 #D3C856 #9FD356
triadic
#D3C856 #56D3C8 #C856D3
tetradic
#D3C856 #56D389 #5661D3 #D3569F
square
#D3C856 #56D389 #5661D3 #D3569F
split-complementary
#D3C856 #569FD3 #8956D3
monochromatic
#8B8224 #BBAF31 #D3C856 #E0D887 #ECE8B7

Accessibility & contrast

On white

1.73
#D3C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#D3C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C856
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C856#FFFFFF#000000##000000
##D3C8561.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24A
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c856;
/* rgb */ color: rgb(211, 200, 86);
/* oklch */ color: oklch(82.0% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#e3d88a',
    500: '#d3c856',
    950: '#000000',
  },
}
SCSS
$custom: #d3c856;
$custom-light: #e3d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c856",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 54.72,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.13512,
    "h": 103.8
  },
  "luminance": 0.55829
}

Semantic roles & 50–950 ramp

primary
#D3C856
secondary
#3C4491
accent
#54E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C856

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

Preview Lab → · Contrast checker → · Palette generator →

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