#CDCC7D#CDCC7D

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

Color values

HEX#CDCC7D
RGBrgb(205, 204, 125)
HSLhsl(59, 44%, 65%)
HSVhsv(59, 39%, 80%)
CMYKcmyk(0%, 0.5%, 39%, 19.6%)
CIE-LABlab(80.54, -11.24, 39.47)
CIE-LCHlch(80.54, 41.04, 105.89°)
OKLaboklab(82.83% -0.0308 0.0962)
OKLCHoklch(82.83% 0.101 107.8)
XYZxyz(50.4721, 57.6466, 27.8662)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC7D #7D7ECD
analogous
#CDA47D #CDCC7D #A6CD7D
triadic
#CDCC7D #7DCDCC #CC7DCD
tetradic
#CDCC7D #7DCDA4 #7D7ECD #CD7DA6
square
#CDCC7D #7DCDA4 #7D7ECD #CD7DA6
split-complementary
#CDCC7D #7DA6CD #A47DCD
monochromatic
#96953A #BCBB51 #CDCC7D #DEDDA9 #EFEFD5

Accessibility & contrast

On white

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

On black

12.53
#CDCC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC7D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC7D#FFFFFF#000000##000000
##CDCC7D1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#D8C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc7d;
/* rgb */ color: rgb(205, 204, 125);
/* oklch */ color: oklch(82.8% 0.101 107.8);
Tailwind
colors: {
  custom: {
    50: '#dddba4',
    500: '#cdcc7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc7d;
$custom-light: #dddba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc7d",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 59.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.101,
    "h": 107.8
  },
  "luminance": 0.57646
}

Semantic roles & 50–950 ramp

primary
#CDCC7D
secondary
#52539C
accent
#30B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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