#D3C156#D3C156

#D3C156 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.129 H 99.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D3C156
RGBrgb(211, 193, 86)
HSLhsl(51, 59%, 58%)
HSVhsv(51, 59%, 83%)
CMYKcmyk(0%, 8.5%, 59.2%, 17.3%)
CIE-LABlab(77.68, -6.67, 54.97)
CIE-LCHlch(77.68, 55.37, 96.92°)
OKLaboklab(80.53% -0.022 0.1268)
OKLCHoklch(80.53% 0.129 99.8)
XYZxyz(47.6155, 52.6627, 16.4591)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C156 #5668D3
analogous
#D38256 #D3C156 #A6D356
triadic
#D3C156 #56D3C1 #C156D3
tetradic
#D3C156 #56D382 #5668D3 #D356A6
square
#D3C156 #56D382 #5668D3 #D356A6
split-complementary
#D3C156 #56A6D3 #8256D3
monochromatic
#8B7C24 #BBA731 #D3C156 #E0D387 #ECE5B7

Accessibility & contrast

On white

1.82
#D3C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D3C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C156
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C156#FFFFFF#000000##000000
##D3C1561.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4B
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#E2B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d3c156;
/* rgb */ color: rgb(211, 193, 86);
/* oklch */ color: oklch(80.5% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#e3d389',
    500: '#d3c156',
    950: '#000000',
  },
}
SCSS
$custom: #d3c156;
$custom-light: #e3d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c156",
  "rgb": {
    "r": 211,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 51.36,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80527,
    "c": 0.12873,
    "h": 99.8
  },
  "luminance": 0.52661
}

Semantic roles & 50–950 ramp

primary
#D3C156
secondary
#3C4991
accent
#5CE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C156

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

Preview Lab → · Contrast checker → · Palette generator →

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