#D2C256#D2C256

#D2C256 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.130 H 100.9°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#D2C256
RGBrgb(210, 194, 86)
HSLhsl(52, 58%, 58%)
HSVhsv(52, 59%, 82%)
CMYKcmyk(0%, 7.6%, 59%, 17.6%)
CIE-LABlab(77.85, -7.60, 55.14)
CIE-LCHlch(77.85, 55.66, 97.85°)
OKLaboklab(80.65% -0.0246 0.1272)
OKLCHoklch(80.65% 0.13 100.9)
XYZxyz(47.5516, 52.9590, 16.5196)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C256 #5666D2
analogous
#D28456 #D2C256 #A4D256
triadic
#D2C256 #56D2C2 #C256D2
tetradic
#D2C256 #56D284 #5666D2 #D256A4
square
#D2C256 #56D284 #5666D2 #D256A4
split-complementary
#D2C256 #56A4D2 #8456D2
monochromatic
#897C25 #B9A831 #D2C256 #DFD386 #ECE5B7

Accessibility & contrast

On white

1.81
#D2C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#D2C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C256
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C256#FFFFFF#000000##000000
##D2C2561.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c256;
/* rgb */ color: rgb(210, 194, 86);
/* oklch */ color: oklch(80.6% 0.130 100.9);
Tailwind
colors: {
  custom: {
    50: '#e3d489',
    500: '#d2c256',
    950: '#000000',
  },
}
SCSS
$custom: #d2c256;
$custom-light: #e3d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c256",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 52.258,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80645,
    "c": 0.12959,
    "h": 100.9
  },
  "luminance": 0.52957
}

Semantic roles & 50–950 ramp

primary
#D2C256
secondary
#3D4790
accent
#5BE147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C256

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

Preview Lab → · Contrast checker → · Palette generator →

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