#CDCCA2#CDCCA2

#CDCCA2 is a very light, muted yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.056 H 106.4°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CDCCA2
RGBrgb(205, 204, 162)
HSLhsl(59, 30%, 72%)
HSVhsv(59, 21%, 80%)
CMYKcmyk(0%, 0.5%, 21%, 19.6%)
CIE-LABlab(81.17, -6.53, 21.12)
CIE-LCHlch(81.17, 22.11, 107.18°)
OKLaboklab(83.53% -0.0159 0.0538)
OKLCHoklch(83.53% 0.056 106.4)
XYZxyz(53.2910, 58.7742, 42.7126)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCCA2 #A2A3CD
analogous
#CDB7A2 #CDCCA2 #B9CDA2
triadic
#CDCCA2 #A2CDCC #CCA2CD
tetradic
#CDCCA2 #A2CDB7 #A2A3CD #CDA2B9
square
#CDCCA2 #A2CDB7 #A2A3CD #CDA2B9
split-complementary
#CDCCA2 #A2B9CD #B7A2CD
monochromatic
#9F9D56 #B8B67A #CDCCA2 #E2E2CA #F4F4EB

Accessibility & contrast

On white

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

On black

12.75
#CDCCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCCA2
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCCA2#FFFFFF#000000##000000
##CDCCA21.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C89F
Deuteranopia (green-blind)
#D4CBA4
Tritanopia (blue-blind)
#D4C6C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcca2;
/* rgb */ color: rgb(205, 204, 162);
/* oklch */ color: oklch(83.5% 0.056 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcdbbd',
    500: '#cdcca2',
    950: '#000000',
  },
}
SCSS
$custom: #cdcca2;
$custom-light: #dcdbbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcca2",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 162
  },
  "hsl": {
    "h": 58.605,
    "s": 30.07,
    "l": 71.961
  },
  "oklch": {
    "l": 0.83533,
    "c": 0.05612,
    "h": 106.4
  },
  "luminance": 0.58774
}

Semantic roles & 50–950 ramp

primary
#CDCCA2
secondary
#7172A2
accent
#3FA93D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #CDCCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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