#D1C856#D1C856

#D1C856 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.135 H 104.8°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D1C856
RGBrgb(209, 200, 86)
HSLhsl(56, 57%, 58%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 4.3%, 58.9%, 18%)
CIE-LABlab(79.35, -11.08, 56.79)
CIE-LCHlch(79.35, 57.86, 101.04°)
OKLaboklab(81.82% -0.0345 0.1308)
OKLCHoklch(81.82% 0.135 104.8)
XYZxyz(48.6301, 55.5374, 16.9605)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C856 #565FD1
analogous
#D18B56 #D1C856 #9CD156
triadic
#D1C856 #56D1C8 #C856D1
tetradic
#D1C856 #56D18B #565FD1 #D1569C
square
#D1C856 #56D18B #565FD1 #D1569C
split-complementary
#D1C856 #569CD1 #8B56D1
monochromatic
#888025 #B8AE32 #D1C856 #DED886 #EBE7B6

Accessibility & contrast

On white

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

On black

12.11
#D1C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C856
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C856#FFFFFF#000000##000000
##D1C8561.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c856;
/* rgb */ color: rgb(209, 200, 86);
/* oklch */ color: oklch(81.8% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#e2d88a',
    500: '#d1c856',
    950: '#000000',
  },
}
SCSS
$custom: #d1c856;
$custom-light: #e2d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c856",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 55.61,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81816,
    "c": 0.13523,
    "h": 104.8
  },
  "luminance": 0.55536
}

Semantic roles & 50–950 ramp

primary
#D1C856
secondary
#3D438E
accent
#53E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C856

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

Preview Lab → · Contrast checker → · Palette generator →

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