#CDC486#CDC486

#CDC486 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.082 H 100.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CDC486
RGBrgb(205, 196, 134)
HSLhsl(52, 42%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.4%, 34.6%, 19.6%)
CIE-LABlab(78.57, -6.10, 32.31)
CIE-LCHlch(78.57, 32.88, 100.69°)
OKLaboklab(81.31% -0.0155 0.0801)
OKLCHoklch(81.31% 0.082 100.9)
XYZxyz(49.2205, 54.1814, 30.4149)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC486 #868FCD
analogous
#CDA186 #CDC486 #B3CD86
triadic
#CDC486 #86CDC4 #C486CD
tetradic
#CDC486 #86CDA1 #868FCD #CD86B3
square
#CDC486 #86CDA1 #868FCD #CD86B3
split-complementary
#CDC486 #86B3CD #A186CD
monochromatic
#998E3F #BBAF5B #CDC486 #DFD9B1 #F1EEDD

Accessibility & contrast

On white

1.77
#CDC486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CDC486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC486
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC486#FFFFFF#000000##000000
##CDC4861.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC082
Deuteranopia (green-blind)
#D2C488
Tritanopia (blue-blind)
#D7BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc486;
/* rgb */ color: rgb(205, 196, 134);
/* oklch */ color: oklch(81.3% 0.082 100.9);
Tailwind
colors: {
  custom: {
    50: '#ddd5aa',
    500: '#cdc486',
    950: '#000000',
  },
}
SCSS
$custom: #cdc486;
$custom-light: #ddd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc486",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 134
  },
  "hsl": {
    "h": 52.394,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81311,
    "c": 0.08153,
    "h": 100.9
  },
  "luminance": 0.5418
}

Semantic roles & 50–950 ramp

primary
#CDC486
secondary
#5861A0
accent
#42B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC486

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

Preview Lab → · Contrast checker → · Palette generator →

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