#CDCC7A#CDCC7A

#CDCC7A is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.104 H 107.9°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CDCC7A
RGBrgb(205, 204, 122)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 0.5%, 40.5%, 19.6%)
CIE-LABlab(80.50, -11.56, 40.93)
CIE-LCHlch(80.50, 42.53, 105.77°)
OKLaboklab(82.79% -0.032 0.0993)
OKLCHoklch(82.79% 0.104 107.9)
XYZxyz(50.2833, 57.5711, 26.8721)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC7A #7A7BCD
analogous
#CDA37A #CDCC7A #A5CD7A
triadic
#CDCC7A #7ACDCC #CC7ACD
tetradic
#CDCC7A #7ACDA3 #7A7BCD #CD7AA5
square
#CDCC7A #7ACDA3 #7A7BCD #CD7AA5
split-complementary
#CDCC7A #7AA5CD #A37ACD
monochromatic
#959438 #BCBB4E #CDCC7A #DEDDA6 #EEEED3

Accessibility & contrast

On white

1.68
#CDCC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CDCC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC7A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC7A#FFFFFF#000000##000000
##CDCC7A1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C674
Deuteranopia (green-blind)
#DAC97E
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc7a;
/* rgb */ color: rgb(205, 204, 122);
/* oklch */ color: oklch(82.8% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddba2',
    500: '#cdcc7a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc7a;
$custom-light: #dddba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc7a",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 59.277,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82785,
    "c": 0.10434,
    "h": 107.9
  },
  "luminance": 0.5757
}

Semantic roles & 50–950 ramp

primary
#CDCC7A
secondary
#50519B
accent
#2FB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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