#D2CD95#D2CD95

#D2CD95 is a very light, moderate yellow. Relative luminance 0.595; OKLCH L 83.9% C 0.074 H 103.6°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D2CD95
RGBrgb(210, 205, 149)
HSLhsl(55, 40%, 70%)
HSVhsv(55, 29%, 82%)
CMYKcmyk(0%, 2.4%, 29%, 17.6%)
CIE-LABlab(81.58, -6.93, 28.58)
CIE-LCHlch(81.58, 29.41, 103.63°)
OKLaboklab(83.88% -0.0173 0.0716)
OKLCHoklch(83.88% 0.074 103.6)
XYZxyz(53.8348, 59.5352, 37.0834)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD95 #959AD2
analogous
#D2AE95 #D2CD95 #B8D295
triadic
#D2CD95 #95D2CD #CD95D2
tetradic
#D2CD95 #95D2AE #959AD2 #D295B8
square
#D2CD95 #95D2AE #959AD2 #D295B8
split-complementary
#D2CD95 #95B8D2 #AE95D2
monochromatic
#A69E47 #C0B96A #D2CD95 #E4E1C0 #F6F5EA

Accessibility & contrast

On white

1.63
#D2CD95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D2CD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD95
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD95#FFFFFF#000000##000000
##D2CD951.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C991
Deuteranopia (green-blind)
#D9CC97
Tritanopia (blue-blind)
#DBC6BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cd95;
/* rgb */ color: rgb(210, 205, 149);
/* oklch */ color: oklch(83.9% 0.074 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0dcb4',
    500: '#d2cd95',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd95;
$custom-light: #e0dcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd95",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 149
  },
  "hsl": {
    "h": 55.082,
    "s": 40.397,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83881,
    "c": 0.07369,
    "h": 103.6
  },
  "luminance": 0.59534
}

Semantic roles & 50–950 ramp

primary
#D2CD95
secondary
#6369A8
accent
#3DB332
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2CD95

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

Preview Lab → · Contrast checker → · Palette generator →

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