#D2CC85#D2CC85

#D2CC85 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.092 H 104.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D2CC85
RGBrgb(210, 204, 133)
HSLhsl(55, 46%, 67%)
HSVhsv(55, 37%, 82%)
CMYKcmyk(0%, 2.9%, 36.7%, 17.6%)
CIE-LABlab(81.06, -8.37, 36.15)
CIE-LCHlch(81.06, 37.11, 103.03°)
OKLaboklab(83.38% -0.0222 0.0889)
OKLCHoklch(83.38% 0.092 104.1)
XYZxyz(52.4056, 58.5821, 30.7326)
Luminance0.5858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC85 #858BD2
analogous
#D2A685 #D2CC85 #B1D285
triadic
#D2CC85 #85D2CC #CC85D2
tetradic
#D2CC85 #85D2A6 #858BD2 #D285B1
square
#D2CC85 #85D2A6 #858BD2 #D285B1
split-complementary
#D2CC85 #85B1D2 #A685D2
monochromatic
#A1993B #C2B958 #D2CC85 #E2DFB2 #F3F1DE

Accessibility & contrast

On white

1.65
#D2CC85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D2CC85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC85
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC85#FFFFFF#000000##000000
##D2CC851.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C780
Deuteranopia (green-blind)
#DACB88
Tritanopia (blue-blind)
#DDC3BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cc85;
/* rgb */ color: rgb(210, 204, 133);
/* oklch */ color: oklch(83.4% 0.092 104.1);
Tailwind
colors: {
  custom: {
    50: '#e1dba9',
    500: '#d2cc85',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc85;
$custom-light: #e1dba9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc85",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 133
  },
  "hsl": {
    "h": 55.325,
    "s": 46.108,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83381,
    "c": 0.09164,
    "h": 104.1
  },
  "luminance": 0.58581
}

Semantic roles & 50–950 ramp

primary
#D2CC85
secondary
#555BA6
accent
#37B92C
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2CC85

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

Preview Lab → · Contrast checker → · Palette generator →

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