#CDC685#CDC685

#CDC685 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.085 H 102.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CDC685
RGBrgb(205, 198, 133)
HSLhsl(54, 42%, 66%)
HSVhsv(54, 35%, 80%)
CMYKcmyk(0%, 3.4%, 35.1%, 19.6%)
CIE-LABlab(79.08, -7.25, 33.49)
CIE-LCHlch(79.08, 34.27, 102.22°)
OKLaboklab(81.71% -0.0189 0.0828)
OKLCHoklch(81.71% 0.085 102.8)
XYZxyz(49.6052, 55.0619, 30.2007)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC685 #858CCD
analogous
#CDA285 #CDC685 #B0CD85
triadic
#CDC685 #85CDC6 #C685CD
tetradic
#CDC685 #85CDA2 #858CCD #CD85B0
square
#CDC685 #85CDA2 #858CCD #CD85B0
split-complementary
#CDC685 #85B0CD #A285CD
monochromatic
#99903F #BBB25A #CDC685 #DFDAB0 #F1EFDC

Accessibility & contrast

On white

1.75
#CDC685 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CDC685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC685
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC685#FFFFFF#000000##000000
##CDC6851.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C280
Deuteranopia (green-blind)
#D4C688
Tritanopia (blue-blind)
#D7BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc685;
/* rgb */ color: rgb(205, 198, 133);
/* oklch */ color: oklch(81.7% 0.085 102.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7a9',
    500: '#cdc685',
    950: '#000000',
  },
}
SCSS
$custom: #cdc685;
$custom-light: #ddd7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc685",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 133
  },
  "hsl": {
    "h": 54.167,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81709,
    "c": 0.0849,
    "h": 102.8
  },
  "luminance": 0.55061
}

Semantic roles & 50–950 ramp

primary
#CDC685
secondary
#575E9F
accent
#3DB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC685

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

Preview Lab → · Contrast checker → · Palette generator →

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