#D2C756#D2C756

#D2C756 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.134 H 103.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D2C756
RGBrgb(210, 199, 86)
HSLhsl(55, 58%, 58%)
HSVhsv(55, 59%, 82%)
CMYKcmyk(0%, 5.2%, 59%, 17.6%)
CIE-LABlab(79.17, -10.16, 56.61)
CIE-LCHlch(79.17, 57.51, 100.17°)
OKLaboklab(81.69% -0.0319 0.1304)
OKLCHoklch(81.69% 0.134 103.8)
XYZxyz(48.6832, 55.2221, 16.8968)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C756 #5661D2
analogous
#D28956 #D2C756 #9FD256
triadic
#D2C756 #56D2C7 #C756D2
tetradic
#D2C756 #56D289 #5661D2 #D2569F
square
#D2C756 #56D289 #5661D2 #D2569F
split-complementary
#D2C756 #569FD2 #8956D2
monochromatic
#898025 #B9AD31 #D2C756 #DFD786 #ECE7B7

Accessibility & contrast

On white

1.74
#D2C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D2C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C756
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C756#FFFFFF#000000##000000
##D2C7561.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#E0BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c756;
/* rgb */ color: rgb(210, 199, 86);
/* oklch */ color: oklch(81.7% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#e3d78a',
    500: '#d2c756',
    950: '#000000',
  },
}
SCSS
$custom: #d2c756;
$custom-light: #e3d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c756",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 54.677,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.13421,
    "h": 103.8
  },
  "luminance": 0.5522
}

Semantic roles & 50–950 ramp

primary
#D2C756
secondary
#3D4490
accent
#54E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C756

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

Preview Lab → · Contrast checker → · Palette generator →

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