#D2CD83#D2CD83

#D2CD83 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.095 H 104.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D2CD83
RGBrgb(210, 205, 131)
HSLhsl(56, 47%, 67%)
HSVhsv(56, 38%, 82%)
CMYKcmyk(0%, 2.4%, 37.6%, 17.6%)
CIE-LABlab(81.29, -9.11, 37.47)
CIE-LCHlch(81.29, 38.56, 103.66°)
OKLaboklab(83.56% -0.0245 0.0919)
OKLCHoklch(83.56% 0.095 104.9)
XYZxyz(52.5072, 59.0042, 30.0913)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD83 #8388D2
analogous
#D2A683 #D2CD83 #B0D283
triadic
#D2CD83 #83D2CD #CD83D2
tetradic
#D2CD83 #83D2A6 #8388D2 #D283B0
square
#D2CD83 #83D2A6 #8388D2 #D283B0
split-complementary
#D2CD83 #83B0D2 #A683D2
monochromatic
#A09A3A #C2BB56 #D2CD83 #E2DFB0 #F3F1DD

Accessibility & contrast

On white

1.64
#D2CD83 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D2CD83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD83
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD83#FFFFFF#000000##000000
##D2CD831.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87E
Deuteranopia (green-blind)
#DBCC86
Tritanopia (blue-blind)
#DDC4BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd83;
/* rgb */ color: rgb(210, 205, 131);
/* oklch */ color: oklch(83.6% 0.095 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1dca8',
    500: '#d2cd83',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd83;
$custom-light: #e1dca8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd83",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 131
  },
  "hsl": {
    "h": 56.203,
    "s": 46.746,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83556,
    "c": 0.09506,
    "h": 104.9
  },
  "luminance": 0.59003
}

Semantic roles & 50–950 ramp

primary
#D2CD83
secondary
#5459A5
accent
#35BA2C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD83

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

Preview Lab → · Contrast checker → · Palette generator →

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