#D2C784#D2C784

#D2C784 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.087 H 100.0°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D2C784
RGBrgb(210, 199, 132)
HSLhsl(52, 46%, 67%)
HSVhsv(52, 37%, 82%)
CMYKcmyk(0%, 5.2%, 37.1%, 17.6%)
CIE-LABlab(79.74, -5.91, 34.95)
CIE-LCHlch(79.74, 35.45, 99.60°)
OKLaboklab(82.33% -0.0152 0.0861)
OKLCHoklch(82.33% 0.087 100)
XYZxyz(51.1675, 56.2158, 29.9807)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C784 #848FD2
analogous
#D2A084 #D2C784 #B6D284
triadic
#D2C784 #84D2C7 #C784D2
tetradic
#D2C784 #84D2A0 #848FD2 #D284B6
square
#D2C784 #84D2A0 #848FD2 #D284B6
split-complementary
#D2C784 #84B6D2 #A084D2
monochromatic
#A1923B #C2B357 #D2C784 #E2DBB1 #F3F0DE

Accessibility & contrast

On white

1.72
#D2C784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D2C784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C784
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C784#FFFFFF#000000##000000
##D2C7841.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C37F
Deuteranopia (green-blind)
#D6C887
Tritanopia (blue-blind)
#DDBEB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c784;
/* rgb */ color: rgb(210, 199, 132);
/* oklch */ color: oklch(82.3% 0.087 100.0);
Tailwind
colors: {
  custom: {
    50: '#e1d7a8',
    500: '#d2c784',
    950: '#000000',
  },
}
SCSS
$custom: #d2c784;
$custom-light: #e1d7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c784",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 51.538,
    "s": 46.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82326,
    "c": 0.08742,
    "h": 100
  },
  "luminance": 0.56214
}

Semantic roles & 50–950 ramp

primary
#D2C784
secondary
#5460A6
accent
#40BA2C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #D2C784

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

Preview Lab → · Contrast checker → · Palette generator →

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