#CDC185#CDC185

#CDC185 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.080 H 98.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CDC185
RGBrgb(205, 193, 133)
HSLhsl(50, 42%, 66%)
HSVhsv(50, 35%, 80%)
CMYKcmyk(0%, 5.9%, 35.1%, 19.6%)
CIE-LABlab(77.76, -4.66, 31.77)
CIE-LCHlch(77.76, 32.11, 98.35°)
OKLaboklab(80.67% -0.0114 0.0788)
OKLCHoklch(80.67% 0.08 98.2)
XYZxyz(48.4811, 52.8138, 29.8260)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC185 #8591CD
analogous
#CD9D85 #CDC185 #B5CD85
triadic
#CDC185 #85CDC1 #C185CD
tetradic
#CDC185 #85CD9D #8591CD #CD85B5
square
#CDC185 #85CD9D #8591CD #CD85B5
split-complementary
#CDC185 #85B5CD #9D85CD
monochromatic
#998A3F #BBAB5A #CDC185 #DFD7B0 #F1EDDC

Accessibility & contrast

On white

1.82
#CDC185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CDC185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC185
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC185#FFFFFF#000000##000000
##CDC1851.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE81
Deuteranopia (green-blind)
#D0C287
Tritanopia (blue-blind)
#D8B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc185;
/* rgb */ color: rgb(205, 193, 133);
/* oklch */ color: oklch(80.7% 0.080 98.2);
Tailwind
colors: {
  custom: {
    50: '#ddd3a9',
    500: '#cdc185',
    950: '#000000',
  },
}
SCSS
$custom: #cdc185;
$custom-light: #ddd3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc185",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 133
  },
  "hsl": {
    "h": 50,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80671,
    "c": 0.07959,
    "h": 98.2
  },
  "luminance": 0.52813
}

Semantic roles & 50–950 ramp

primary
#CDC185
secondary
#57639F
accent
#47B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC185

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

Preview Lab → · Contrast checker → · Palette generator →

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