#CDC186#CDC186

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

Color values

HEX#CDC186
RGBrgb(205, 193, 134)
HSLhsl(50, 42%, 66%)
HSVhsv(50, 35%, 80%)
CMYKcmyk(0%, 5.9%, 34.6%, 19.6%)
CIE-LABlab(77.78, -4.54, 31.27)
CIE-LCHlch(77.78, 31.60, 98.26°)
OKLaboklab(80.69% -0.011 0.0776)
OKLCHoklch(80.69% 0.078 98.1)
XYZxyz(48.5506, 52.8416, 30.1916)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC186 #8692CD
analogous
#CD9E86 #CDC186 #B6CD86
triadic
#CDC186 #86CDC1 #C186CD
tetradic
#CDC186 #86CD9E #8692CD #CD86B6
square
#CDC186 #86CD9E #8692CD #CD86B6
split-complementary
#CDC186 #86B6CD #9E86CD
monochromatic
#998A3F #BBAB5B #CDC186 #DFD7B1 #F1EDDD

Accessibility & contrast

On white

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

On black

11.57
#CDC186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC186
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC186#FFFFFF#000000##000000
##CDC1861.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE82
Deuteranopia (green-blind)
#D0C288
Tritanopia (blue-blind)
#D7B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc186;
/* rgb */ color: rgb(205, 193, 134);
/* oklch */ color: oklch(80.7% 0.078 98.1);
Tailwind
colors: {
  custom: {
    50: '#ddd3aa',
    500: '#cdc186',
    950: '#000000',
  },
}
SCSS
$custom: #cdc186;
$custom-light: #ddd3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc186",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 134
  },
  "hsl": {
    "h": 49.859,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80689,
    "c": 0.0784,
    "h": 98.1
  },
  "luminance": 0.5284
}

Semantic roles & 50–950 ramp

primary
#CDC186
secondary
#5864A0
accent
#47B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC186

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

Preview Lab → · Contrast checker → · Palette generator →

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