#CDCC88#CDCC88

#CDCC88 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.088 H 107.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CDCC88
RGBrgb(205, 204, 136)
HSLhsl(59, 41%, 67%)
HSVhsv(59, 34%, 80%)
CMYKcmyk(0%, 0.5%, 33.7%, 19.6%)
CIE-LABlab(80.71, -9.97, 34.08)
CIE-LCHlch(80.71, 35.51, 106.31°)
OKLaboklab(83.02% -0.0265 0.0842)
OKLCHoklch(83.02% 0.088 107.5)
XYZxyz(51.2141, 57.9434, 31.7741)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC88 #8889CD
analogous
#CDAA88 #CDCC88 #ACCD88
triadic
#CDCC88 #88CDCC #CC88CD
tetradic
#CDCC88 #88CDAA #8889CD #CD88AC
square
#CDCC88 #88CDAA #8889CD #CD88AC
split-complementary
#CDCC88 #88ACCD #AA88CD
monochromatic
#9A9941 #BBBA5D #CDCC88 #DFDEB3 #F1F1DE

Accessibility & contrast

On white

1.67
#CDCC88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CDCC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC88
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC88#FFFFFF#000000##000000
##CDCC881.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C783
Deuteranopia (green-blind)
#D8CA8B
Tritanopia (blue-blind)
#D7C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc88;
/* rgb */ color: rgb(205, 204, 136);
/* oklch */ color: oklch(83.0% 0.088 107.5);
Tailwind
colors: {
  custom: {
    50: '#dddbab',
    500: '#cdcc88',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc88;
$custom-light: #dddbab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc88",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 136
  },
  "hsl": {
    "h": 59.13,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83018,
    "c": 0.08831,
    "h": 107.5
  },
  "luminance": 0.57942
}

Semantic roles & 50–950 ramp

primary
#CDCC88
secondary
#595AA0
accent
#34B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC88

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

Preview Lab → · Contrast checker → · Palette generator →

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