#CDCC87#CDCC87

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

Color values

HEX#CDCC87
RGBrgb(205, 204, 135)
HSLhsl(59, 41%, 67%)
HSVhsv(59, 34%, 80%)
CMYKcmyk(0%, 0.5%, 34.1%, 19.6%)
CIE-LABlab(80.69, -10.09, 34.57)
CIE-LCHlch(80.69, 36.02, 106.27°)
OKLaboklab(83% -0.0269 0.0854)
OKLCHoklch(83% 0.089 107.5)
XYZxyz(51.1434, 57.9151, 31.4015)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC87 #8788CD
analogous
#CDA987 #CDCC87 #ABCD87
triadic
#CDCC87 #87CDCC #CC87CD
tetradic
#CDCC87 #87CDA9 #8788CD #CD87AB
square
#CDCC87 #87CDA9 #8788CD #CD87AB
split-complementary
#CDCC87 #87ABCD #A987CD
monochromatic
#9A9840 #BBBA5C #CDCC87 #DFDEB2 #F1F1DD

Accessibility & contrast

On white

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

On black

12.58
#CDCC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC87
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC87#FFFFFF#000000##000000
##CDCC871.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcc87;
/* rgb */ color: rgb(205, 204, 135);
/* oklch */ color: oklch(83.0% 0.089 107.5);
Tailwind
colors: {
  custom: {
    50: '#dddbaa',
    500: '#cdcc87',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc87;
$custom-light: #dddbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc87",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 59.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83,
    "c": 0.08949,
    "h": 107.5
  },
  "luminance": 0.57914
}

Semantic roles & 50–950 ramp

primary
#CDCC87
secondary
#5859A0
accent
#33B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC87

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

Preview Lab → · Contrast checker → · Palette generator →

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