#D2CD89#D2CD89

#D2CD89 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.088 H 104.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D2CD89
RGBrgb(210, 205, 137)
HSLhsl(56, 45%, 68%)
HSVhsv(56, 35%, 82%)
CMYKcmyk(0%, 2.4%, 34.8%, 17.6%)
CIE-LABlab(81.39, -8.42, 34.53)
CIE-LCHlch(81.39, 35.54, 103.70°)
OKLaboklab(83.66% -0.0221 0.0853)
OKLCHoklch(83.66% 0.088 104.5)
XYZxyz(52.9256, 59.1716, 32.2953)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD89 #898ED2
analogous
#D2A889 #D2CD89 #B2D289
triadic
#D2CD89 #89D2CD #CD89D2
tetradic
#D2CD89 #89D2A8 #898ED2 #D289B2
square
#D2CD89 #89D2A8 #898ED2 #D289B2
split-complementary
#D2CD89 #89B2D2 #A889D2
monochromatic
#A39C3E #C1BA5D #D2CD89 #E3E0B5 #F4F3E2

Accessibility & contrast

On white

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

On black

12.83
#D2CD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD89
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD89#FFFFFF#000000##000000
##D2CD891.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C884
Deuteranopia (green-blind)
#DBCC8C
Tritanopia (blue-blind)
#DCC4BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd89;
/* rgb */ color: rgb(210, 205, 137);
/* oklch */ color: oklch(83.7% 0.088 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1dcac',
    500: '#d2cd89',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd89;
$custom-light: #e1dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd89",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 55.89,
    "s": 44.785,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.08811,
    "h": 104.5
  },
  "luminance": 0.5917
}

Semantic roles & 50–950 ramp

primary
#D2CD89
secondary
#585DA8
accent
#37B82E
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD89

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

Preview Lab → · Contrast checker → · Palette generator →

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