#D2C156#D2C156

#D2C156 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.129 H 100.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D2C156
RGBrgb(210, 193, 86)
HSLhsl(52, 58%, 58%)
HSVhsv(52, 59%, 82%)
CMYKcmyk(0%, 8.1%, 59%, 17.6%)
CIE-LABlab(77.59, -7.09, 54.85)
CIE-LCHlch(77.59, 55.30, 97.36°)
OKLaboklab(80.44% -0.0231 0.1266)
OKLCHoklch(80.44% 0.129 100.4)
XYZxyz(47.3298, 52.5154, 16.4457)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C156 #5667D2
analogous
#D28356 #D2C156 #A5D256
triadic
#D2C156 #56D2C1 #C156D2
tetradic
#D2C156 #56D283 #5667D2 #D256A5
square
#D2C156 #56D283 #5667D2 #D256A5
split-complementary
#D2C156 #56A5D2 #8356D2
monochromatic
#897B25 #B9A731 #D2C156 #DFD386 #ECE4B7

Accessibility & contrast

On white

1.83
#D2C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#D2C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C156
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C156#FFFFFF#000000##000000
##D2C1561.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4B
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#E1B5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c156;
/* rgb */ color: rgb(210, 193, 86);
/* oklch */ color: oklch(80.4% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#e3d389',
    500: '#d2c156',
    950: '#000000',
  },
}
SCSS
$custom: #d2c156;
$custom-light: #e3d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c156",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 51.774,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80437,
    "c": 0.1287,
    "h": 100.4
  },
  "luminance": 0.52513
}

Semantic roles & 50–950 ramp

primary
#D2C156
secondary
#3D4890
accent
#5CE147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C156

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

Preview Lab → · Contrast checker → · Palette generator →

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