#D2CD88#D2CD88

#D2CD88 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.089 H 104.6°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D2CD88
RGBrgb(210, 205, 136)
HSLhsl(56, 45%, 68%)
HSVhsv(56, 35%, 82%)
CMYKcmyk(0%, 2.4%, 35.2%, 17.6%)
CIE-LABlab(81.37, -8.53, 35.02)
CIE-LCHlch(81.37, 36.04, 103.69°)
OKLaboklab(83.64% -0.0225 0.0864)
OKLCHoklch(83.64% 0.089 104.6)
XYZxyz(52.8542, 59.1430, 31.9193)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD88 #888DD2
analogous
#D2A888 #D2CD88 #B2D288
triadic
#D2CD88 #88D2CD #CD88D2
tetradic
#D2CD88 #88D2A8 #888DD2 #D288B2
square
#D2CD88 #88D2A8 #888DD2 #D288B2
split-complementary
#D2CD88 #88B2D2 #A888D2
monochromatic
#A29B3D #C1BA5C #D2CD88 #E3E0B4 #F4F2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD88#FFFFFF#000000##000000
##D2CD881.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)
#D9C883
Deuteranopia (green-blind)
#DBCC8B
Tritanopia (blue-blind)
#DCC4BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd88;
/* rgb */ color: rgb(210, 205, 136);
/* oklch */ color: oklch(83.6% 0.089 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1dcab',
    500: '#d2cd88',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd88;
$custom-light: #e1dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd88",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 136
  },
  "hsl": {
    "h": 55.946,
    "s": 45.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83641,
    "c": 0.08928,
    "h": 104.6
  },
  "luminance": 0.59142
}

Semantic roles & 50–950 ramp

primary
#D2CD88
secondary
#575CA7
accent
#37B82D
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2CD88

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

Preview Lab → · Contrast checker → · Palette generator →

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