#CDC888#CDC888

#CDC888 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.084 H 104.3°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CDC888
RGBrgb(205, 200, 136)
HSLhsl(56, 41%, 67%)
HSVhsv(56, 34%, 80%)
CMYKcmyk(0%, 2.4%, 33.7%, 19.6%)
CIE-LABlab(79.65, -7.92, 32.70)
CIE-LCHlch(79.65, 33.64, 103.62°)
OKLaboklab(82.18% -0.0206 0.081)
OKLCHoklch(82.18% 0.084 104.3)
XYZxyz(50.2756, 56.0663, 31.4612)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC888 #888DCD
analogous
#CDA688 #CDC888 #B0CD88
triadic
#CDC888 #88CDC8 #C888CD
tetradic
#CDC888 #88CDA6 #888DCD #CD88B0
square
#CDC888 #88CDA6 #888DCD #CD88B0
split-complementary
#CDC888 #88B0CD #A688CD
monochromatic
#9A9341 #BBB45D #CDC888 #DFDCB3 #F1F0DE

Accessibility & contrast

On white

1.72
#CDC888 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CDC888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC888
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC888#FFFFFF#000000##000000
##CDC8881.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C383
Deuteranopia (green-blind)
#D5C78A
Tritanopia (blue-blind)
#D7C0B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc888;
/* rgb */ color: rgb(205, 200, 136);
/* oklch */ color: oklch(82.2% 0.084 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd8ab',
    500: '#cdc888',
    950: '#000000',
  },
}
SCSS
$custom: #cdc888;
$custom-light: #ddd8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc888",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 136
  },
  "hsl": {
    "h": 55.652,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8218,
    "c": 0.0836,
    "h": 104.3
  },
  "luminance": 0.56065
}

Semantic roles & 50–950 ramp

primary
#CDC888
secondary
#595EA0
accent
#3BB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC888

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

Preview Lab → · Contrast checker → · Palette generator →

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