#CDC686#CDC686

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

Color values

HEX#CDC686
RGBrgb(205, 198, 134)
HSLhsl(54, 42%, 66%)
HSVhsv(54, 35%, 80%)
CMYKcmyk(0%, 3.4%, 34.6%, 19.6%)
CIE-LABlab(79.09, -7.13, 33.00)
CIE-LCHlch(79.09, 33.76, 102.20°)
OKLaboklab(81.73% -0.0185 0.0817)
OKLCHoklch(81.73% 0.084 102.7)
XYZxyz(49.6746, 55.0897, 30.5663)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC686 #868DCD
analogous
#CDA386 #CDC686 #B1CD86
triadic
#CDC686 #86CDC6 #C686CD
tetradic
#CDC686 #86CDA3 #868DCD #CD86B1
square
#CDC686 #86CDA3 #868DCD #CD86B1
split-complementary
#CDC686 #86B1CD #A386CD
monochromatic
#99903F #BBB25B #CDC686 #DFDAB1 #F1EFDD

Accessibility & contrast

On white

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

On black

12.02
#CDC686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC686
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC686#FFFFFF#000000##000000
##CDC6861.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc686;
/* rgb */ color: rgb(205, 198, 134);
/* oklch */ color: oklch(81.7% 0.084 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddd7aa',
    500: '#cdc686',
    950: '#000000',
  },
}
SCSS
$custom: #cdc686;
$custom-light: #ddd7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc686",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 134
  },
  "hsl": {
    "h": 54.085,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81727,
    "c": 0.08371,
    "h": 102.7
  },
  "luminance": 0.55089
}

Semantic roles & 50–950 ramp

primary
#CDC686
secondary
#585FA0
accent
#3EB531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC686

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

Preview Lab → · Contrast checker → · Palette generator →

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