#CDC386#CDC386

#CDC386 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.080 H 100.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC386
RGBrgb(205, 195, 134)
HSLhsl(52, 42%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.9%, 34.6%, 19.6%)
CIE-LABlab(78.31, -5.58, 31.96)
CIE-LCHlch(78.31, 32.45, 99.90°)
OKLaboklab(81.1% -0.014 0.0792)
OKLCHoklch(81.1% 0.08 100)
XYZxyz(48.9957, 53.7318, 30.3399)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC386 #8690CD
analogous
#CDA086 #CDC386 #B4CD86
triadic
#CDC386 #86CDC3 #C386CD
tetradic
#CDC386 #86CDA0 #8690CD #CD86B4
square
#CDC386 #86CDA0 #8690CD #CD86B4
split-complementary
#CDC386 #86B4CD #A086CD
monochromatic
#998D3F #BBAE5B #CDC386 #DFD8B1 #F1EEDD

Accessibility & contrast

On white

1.79
#CDC386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CDC386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC386
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC386#FFFFFF#000000##000000
##CDC3861.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF82
Deuteranopia (green-blind)
#D1C488
Tritanopia (blue-blind)
#D7BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc386;
/* rgb */ color: rgb(205, 195, 134);
/* oklch */ color: oklch(81.1% 0.080 100.0);
Tailwind
colors: {
  custom: {
    50: '#ddd5aa',
    500: '#cdc386',
    950: '#000000',
  },
}
SCSS
$custom: #cdc386;
$custom-light: #ddd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc386",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 134
  },
  "hsl": {
    "h": 51.549,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81104,
    "c": 0.08047,
    "h": 100
  },
  "luminance": 0.53731
}

Semantic roles & 50–950 ramp

primary
#CDC386
secondary
#5862A0
accent
#43B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC386

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

Preview Lab → · Contrast checker → · Palette generator →

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