#D2CC75#D2CC75

#D2CC75 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.109 H 105.1°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CC75
RGBrgb(210, 204, 117)
HSLhsl(56, 51%, 64%)
HSVhsv(56, 44%, 82%)
CMYKcmyk(0%, 2.9%, 44.3%, 17.6%)
CIE-LABlab(80.83, -10.08, 43.92)
CIE-LCHlch(80.83, 45.06, 102.92°)
OKLaboklab(83.13% -0.0284 0.1057)
OKLCHoklch(83.13% 0.109 105.1)
XYZxyz(51.3832, 58.1731, 25.3480)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC75 #757BD2
analogous
#D29E75 #D2CC75 #AAD275
triadic
#D2CC75 #75D2CC #CC75D2
tetradic
#D2CC75 #75D29E #757BD2 #D275AA
square
#D2CC75 #75D29E #757BD2 #D275AA
split-complementary
#D2CC75 #75AAD2 #9E75D2
monochromatic
#9A9432 #C3BB47 #D2CC75 #E1DDA3 #F0EED1

Accessibility & contrast

On white

1.66
#D2CC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D2CC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC75
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC75#FFFFFF#000000##000000
##D2CC751.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66E
Deuteranopia (green-blind)
#DCCB79
Tritanopia (blue-blind)
#DEC2B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cc75;
/* rgb */ color: rgb(210, 204, 117);
/* oklch */ color: oklch(83.1% 0.109 105.1);
Tailwind
colors: {
  custom: {
    50: '#e1db9e',
    500: '#d2cc75',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc75;
$custom-light: #e1db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc75",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 117
  },
  "hsl": {
    "h": 56.129,
    "s": 50.82,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83128,
    "c": 0.10945,
    "h": 105.1
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#D2CC75
secondary
#4C519F
accent
#31BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D2CC75

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

Preview Lab → · Contrast checker → · Palette generator →

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