#CDC586#CDC586

#CDC586 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.083 H 101.9°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC586
RGBrgb(205, 197, 134)
HSLhsl(53, 42%, 66%)
HSVhsv(53, 35%, 80%)
CMYKcmyk(0%, 3.9%, 34.6%, 19.6%)
CIE-LABlab(78.83, -6.62, 32.65)
CIE-LCHlch(78.83, 33.32, 101.46°)
OKLaboklab(81.52% -0.017 0.0809)
OKLCHoklch(81.52% 0.083 101.9)
XYZxyz(49.4468, 54.6341, 30.4903)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC586 #868ECD
analogous
#CDA286 #CDC586 #B2CD86
triadic
#CDC586 #86CDC5 #C586CD
tetradic
#CDC586 #86CDA2 #868ECD #CD86B2
square
#CDC586 #86CDA2 #868ECD #CD86B2
split-complementary
#CDC586 #86B2CD #A286CD
monochromatic
#998F3F #BBB05B #CDC586 #DFDAB1 #F1EFDD

Accessibility & contrast

On white

1.76
#CDC586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CDC586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC586
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC586#FFFFFF#000000##000000
##CDC5861.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C182
Deuteranopia (green-blind)
#D3C588
Tritanopia (blue-blind)
#D7BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc586;
/* rgb */ color: rgb(205, 197, 134);
/* oklch */ color: oklch(81.5% 0.083 101.9);
Tailwind
colors: {
  custom: {
    50: '#ddd6aa',
    500: '#cdc586',
    950: '#000000',
  },
}
SCSS
$custom: #cdc586;
$custom-light: #ddd6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc586",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 134
  },
  "hsl": {
    "h": 53.239,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81519,
    "c": 0.08261,
    "h": 101.9
  },
  "luminance": 0.54633
}

Semantic roles & 50–950 ramp

primary
#CDC586
secondary
#5860A0
accent
#40B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC586

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

Preview Lab → · Contrast checker → · Palette generator →

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