#CDC585#CDC585

#CDC585 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.084 H 102.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC585
RGBrgb(205, 197, 133)
HSLhsl(53, 42%, 66%)
HSVhsv(53, 35%, 80%)
CMYKcmyk(0%, 3.9%, 35.1%, 19.6%)
CIE-LABlab(78.81, -6.74, 33.15)
CIE-LCHlch(78.81, 33.83, 101.49°)
OKLaboklab(81.5% -0.0174 0.082)
OKLCHoklch(81.5% 0.084 102)
XYZxyz(49.3774, 54.6063, 30.1247)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC585 #858DCD
analogous
#CDA185 #CDC585 #B1CD85
triadic
#CDC585 #85CDC5 #C585CD
tetradic
#CDC585 #85CDA1 #858DCD #CD85B1
square
#CDC585 #85CDA1 #858DCD #CD85B1
split-complementary
#CDC585 #85B1CD #A185CD
monochromatic
#998F3F #BBB05A #CDC585 #DFDAB0 #F1EEDC

Accessibility & contrast

On white

1.76
#CDC585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CDC585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC585
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC585#FFFFFF#000000##000000
##CDC5851.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C180
Deuteranopia (green-blind)
#D3C587
Tritanopia (blue-blind)
#D7BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc585;
/* rgb */ color: rgb(205, 197, 133);
/* oklch */ color: oklch(81.5% 0.084 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddd6a9',
    500: '#cdc585',
    950: '#000000',
  },
}
SCSS
$custom: #cdc585;
$custom-light: #ddd6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc585",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 133
  },
  "hsl": {
    "h": 53.333,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.0838,
    "h": 102
  },
  "luminance": 0.54605
}

Semantic roles & 50–950 ramp

primary
#CDC585
secondary
#575F9F
accent
#3FB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC585

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

Preview Lab → · Contrast checker → · Palette generator →

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