#D2C856#D2C856

#D2C856 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.135 H 104.3°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D2C856
RGBrgb(210, 200, 86)
HSLhsl(55, 58%, 58%)
HSVhsv(55, 59%, 82%)
CMYKcmyk(0%, 4.8%, 59%, 17.6%)
CIE-LABlab(79.43, -10.67, 56.90)
CIE-LCHlch(79.43, 57.89, 100.62°)
OKLaboklab(81.9% -0.0334 0.131)
OKLCHoklch(81.9% 0.135 104.3)
XYZxyz(48.9140, 55.6838, 16.9738)
Luminance0.5568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C856 #5660D2
analogous
#D28A56 #D2C856 #9ED256
triadic
#D2C856 #56D2C8 #C856D2
tetradic
#D2C856 #56D28A #5660D2 #D2569E
square
#D2C856 #56D28A #5660D2 #D2569E
split-complementary
#D2C856 #569ED2 #8A56D2
monochromatic
#898125 #B9AE31 #D2C856 #DFD886 #ECE7B7

Accessibility & contrast

On white

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

On black

12.14
#D2C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C856
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C856#FFFFFF#000000##000000
##D2C8561.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c856;
/* rgb */ color: rgb(210, 200, 86);
/* oklch */ color: oklch(81.9% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#e3d88a',
    500: '#d2c856',
    950: '#000000',
  },
}
SCSS
$custom: #d2c856;
$custom-light: #e3d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c856",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 55.161,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81903,
    "c": 0.13516,
    "h": 104.3
  },
  "luminance": 0.55682
}

Semantic roles & 50–950 ramp

primary
#D2C856
secondary
#3D4390
accent
#53E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C856

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

Preview Lab → · Contrast checker → · Palette generator →

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