#CDCD86#CDCD86

#CDCD86 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.092 H 108.2°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCD86
RGBrgb(205, 205, 134)
HSLhsl(60, 42%, 66%)
HSVhsv(60, 35%, 80%)
CMYKcmyk(0%, 0%, 34.6%, 19.6%)
CIE-LABlab(80.94, -10.72, 35.41)
CIE-LCHlch(80.94, 37.00, 106.85°)
OKLaboklab(83.19% -0.0288 0.0872)
OKLCHoklch(83.19% 0.092 108.2)
XYZxyz(51.3117, 58.3639, 31.1120)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD86 #8686CD
analogous
#CDAA86 #CDCD86 #AACD86
triadic
#CDCD86 #86CDCD #CD86CD
tetradic
#CDCD86 #86CDAA #8686CD #CD86AA
square
#CDCD86 #86CDAA #8686CD #CD86AA
split-complementary
#CDCD86 #86AACD #AA86CD
monochromatic
#99993F #BBBB5B #CDCD86 #DFDFB1 #F1F1DD

Accessibility & contrast

On white

1.66
#CDCD86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CDCD86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD86
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD86#FFFFFF#000000##000000
##CDCD861.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C781
Deuteranopia (green-blind)
#D9CA89
Tritanopia (blue-blind)
#D7C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd86;
/* rgb */ color: rgb(205, 205, 134);
/* oklch */ color: oklch(83.2% 0.092 108.2);
Tailwind
colors: {
  custom: {
    50: '#dddcaa',
    500: '#cdcd86',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd86;
$custom-light: #dddcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd86",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.83193,
    "c": 0.09187,
    "h": 108.2
  },
  "luminance": 0.58363
}

Semantic roles & 50–950 ramp

primary
#CDCD86
secondary
#5858A0
accent
#31B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD86

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

Preview Lab → · Contrast checker → · Palette generator →

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