#D2CD81#D2CD81

#D2CD81 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.097 H 105.1°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D2CD81
RGBrgb(210, 205, 129)
HSLhsl(56, 47%, 66%)
HSVhsv(56, 39%, 82%)
CMYKcmyk(0%, 2.4%, 38.6%, 17.6%)
CIE-LABlab(81.26, -9.33, 38.45)
CIE-LCHlch(81.26, 39.57, 103.64°)
OKLaboklab(83.52% -0.0253 0.094)
OKLCHoklch(83.52% 0.097 105.1)
XYZxyz(52.3729, 58.9505, 29.3843)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD81 #8186D2
analogous
#D2A581 #D2CD81 #AFD281
triadic
#D2CD81 #81D2CD #CD81D2
tetradic
#D2CD81 #81D2A5 #8186D2 #D281AF
square
#D2CD81 #81D2A5 #8186D2 #D281AF
split-complementary
#D2CD81 #81AFD2 #A581D2
monochromatic
#A09939 #C2BB54 #D2CD81 #E2DFAE #F2F1DB

Accessibility & contrast

On white

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

On black

12.79
#D2CD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD81
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD81#FFFFFF#000000##000000
##D2CD811.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C87B
Deuteranopia (green-blind)
#DCCC84
Tritanopia (blue-blind)
#DDC4BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd81;
/* rgb */ color: rgb(210, 205, 129);
/* oklch */ color: oklch(83.5% 0.097 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1dca6',
    500: '#d2cd81',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd81;
$custom-light: #e1dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd81",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 56.296,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83522,
    "c": 0.09735,
    "h": 105.1
  },
  "luminance": 0.58949
}

Semantic roles & 50–950 ramp

primary
#D2CD81
secondary
#5358A5
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD81

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

Preview Lab → · Contrast checker → · Palette generator →

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