#CDCC99#CDCC99

#CDCC99 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.068 H 106.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CDCC99
RGBrgb(205, 204, 153)
HSLhsl(59, 34%, 70%)
HSVhsv(59, 25%, 80%)
CMYKcmyk(0%, 0.5%, 25.4%, 19.6%)
CIE-LABlab(81.00, -7.79, 25.63)
CIE-LCHlch(81.00, 26.79, 106.92°)
OKLaboklab(83.34% -0.0196 0.0647)
OKLCHoklch(83.34% 0.068 106.8)
XYZxyz(52.5195, 58.4655, 38.6491)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC99 #999ACD
analogous
#CDB299 #CDCC99 #B4CD99
triadic
#CDCC99 #99CDCC #CC99CD
tetradic
#CDCC99 #99CDB2 #999ACD #CD99B4
square
#CDCC99 #99CDB2 #999ACD #CD99B4
split-complementary
#CDCC99 #99B4CD #B299CD
monochromatic
#9E9D4D #B9B770 #CDCC99 #E1E1C2 #F5F5EA

Accessibility & contrast

On white

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

On black

12.69
#CDCC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC99
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC99#FFFFFF#000000##000000
##CDCC991.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C896
Deuteranopia (green-blind)
#D6CA9B
Tritanopia (blue-blind)
#D5C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc99;
/* rgb */ color: rgb(205, 204, 153);
/* oklch */ color: oklch(83.3% 0.068 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcdbb7',
    500: '#cdcc99',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc99;
$custom-light: #dcdbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc99",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 58.846,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83342,
    "c": 0.06756,
    "h": 106.8
  },
  "luminance": 0.58465
}

Semantic roles & 50–950 ramp

primary
#CDCC99
secondary
#6869A2
accent
#3BAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC99

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

Preview Lab → · Contrast checker → · Palette generator →

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