#CDCDA2#CDCDA2

#CDCDA2 is a very light, muted yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.057 H 107.6°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CDCDA2
RGBrgb(205, 205, 162)
HSLhsl(60, 30%, 72%)
HSVhsv(60, 21%, 80%)
CMYKcmyk(0%, 0%, 21%, 19.6%)
CIE-LABlab(81.43, -7.04, 21.48)
CIE-LCHlch(81.43, 22.61, 108.15°)
OKLaboklab(83.74% -0.0173 0.0547)
OKLCHoklch(83.74% 0.057 107.6)
XYZxyz(53.5295, 59.2510, 42.7921)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCDA2 #A2A2CD
analogous
#CDB8A2 #CDCDA2 #B8CDA2
triadic
#CDCDA2 #A2CDCD #CDA2CD
tetradic
#CDCDA2 #A2CDB8 #A2A2CD #CDA2B8
square
#CDCDA2 #A2CDB8 #A2A2CD #CDA2B8
split-complementary
#CDCDA2 #A2B8CD #B8A2CD
monochromatic
#9F9F56 #B8B87A #CDCDA2 #E2E2CA #F4F4EB

Accessibility & contrast

On white

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

On black

12.85
#CDCDA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCDA2
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCDA2#FFFFFF#000000##000000
##CDCDA21.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C99F
Deuteranopia (green-blind)
#D5CBA4
Tritanopia (blue-blind)
#D4C7C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcda2;
/* rgb */ color: rgb(205, 205, 162);
/* oklch */ color: oklch(83.7% 0.057 107.6);
Tailwind
colors: {
  custom: {
    50: '#dcdcbd',
    500: '#cdcda2',
    950: '#000000',
  },
}
SCSS
$custom: #cdcda2;
$custom-light: #dcdcbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcda2",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 162
  },
  "hsl": {
    "h": 60,
    "s": 30.07,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8374,
    "c": 0.05739,
    "h": 107.6
  },
  "luminance": 0.5925
}

Semantic roles & 50–950 ramp

primary
#CDCDA2
secondary
#7171A2
accent
#3DA93D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #CDCDA2

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

Preview Lab → · Contrast checker → · Palette generator →

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