#CDC8A2#CDC8A2

#CDC8A2 is a very light, muted yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.051 H 101.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC8A2
RGBrgb(205, 200, 162)
HSLhsl(53, 30%, 72%)
HSVhsv(53, 21%, 80%)
CMYKcmyk(0%, 2.4%, 21%, 19.6%)
CIE-LABlab(80.12, -4.46, 19.68)
CIE-LCHlch(80.12, 20.18, 102.76°)
OKLaboklab(82.71% -0.01 0.0503)
OKLCHoklch(82.71% 0.051 101.2)
XYZxyz(52.3525, 56.8971, 42.3998)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC8A2 #A2A7CD
analogous
#CDB3A2 #CDC8A2 #BDCDA2
triadic
#CDC8A2 #A2CDC8 #C8A2CD
tetradic
#CDC8A2 #A2CDB3 #A2A7CD #CDA2BD
square
#CDC8A2 #A2CDB3 #A2A7CD #CDA2BD
split-complementary
#CDC8A2 #A2BDCD #B3A2CD
monochromatic
#9F9756 #B8B07A #CDC8A2 #E2E0CA #F4F3EB

Accessibility & contrast

On white

1.70
#CDC8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDC8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC8A2
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC8A2#FFFFFF#000000##000000
##CDC8A21.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC5A0
Deuteranopia (green-blind)
#D1C8A3
Tritanopia (blue-blind)
#D4C3BE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc8a2;
/* rgb */ color: rgb(205, 200, 162);
/* oklch */ color: oklch(82.7% 0.051 101.2);
Tailwind
colors: {
  custom: {
    50: '#dcd8bd',
    500: '#cdc8a2',
    950: '#000000',
  },
}
SCSS
$custom: #cdc8a2;
$custom-light: #dcd8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc8a2",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 162
  },
  "hsl": {
    "h": 53.023,
    "s": 30.07,
    "l": 71.961
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.05126,
    "h": 101.2
  },
  "luminance": 0.56896
}

Semantic roles & 50–950 ramp

primary
#CDC8A2
secondary
#7177A2
accent
#49A93D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CDC8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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