#D2CC91#D2CC91

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

Color values

HEX#D2CC91
RGBrgb(210, 204, 145)
HSLhsl(54, 42%, 70%)
HSVhsv(54, 31%, 82%)
CMYKcmyk(0%, 2.9%, 31%, 17.6%)
CIE-LABlab(81.25, -6.93, 30.22)
CIE-LCHlch(81.25, 31.00, 102.91°)
OKLaboklab(83.6% -0.0174 0.0754)
OKLCHoklch(83.6% 0.077 103)
XYZxyz(53.2825, 58.9328, 35.3509)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC91 #9197D2
analogous
#D2AC91 #D2CC91 #B7D291
triadic
#D2CC91 #91D2CC #CC91D2
tetradic
#D2CC91 #91D2AC #9197D2 #D291B7
square
#D2CC91 #91D2AC #9197D2 #D291B7
split-complementary
#D2CC91 #91B7D2 #AC91D2
monochromatic
#A59C44 #C0B866 #D2CC91 #E4E0BC #F6F4E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CC91#FFFFFF#000000##000000
##D2CC911.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)
#D6C88D
Deuteranopia (green-blind)
#D9CB93
Tritanopia (blue-blind)
#DCC4BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cc91;
/* rgb */ color: rgb(210, 204, 145);
/* oklch */ color: oklch(83.6% 0.077 103.0);
Tailwind
colors: {
  custom: {
    50: '#e0dbb1',
    500: '#d2cc91',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc91;
$custom-light: #e0dbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc91",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 145
  },
  "hsl": {
    "h": 54.462,
    "s": 41.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83597,
    "c": 0.07743,
    "h": 103
  },
  "luminance": 0.58932
}

Semantic roles & 50–950 ramp

primary
#D2CC91
secondary
#5F66A8
accent
#3DB530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151511
muted
#848481

Preview Lab

Preview with #D2CC91

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

Preview Lab → · Contrast checker → · Palette generator →

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