#CDC385#CDC385

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

Color values

HEX#CDC385
RGBrgb(205, 195, 133)
HSLhsl(52, 42%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.9%, 35.1%, 19.6%)
CIE-LABlab(78.29, -5.70, 32.46)
CIE-LCHlch(78.29, 32.96, 99.96°)
OKLaboklab(81.08% -0.0144 0.0804)
OKLCHoklch(81.08% 0.082 100.2)
XYZxyz(48.9263, 53.7041, 29.9744)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC385 #858FCD
analogous
#CD9F85 #CDC385 #B3CD85
triadic
#CDC385 #85CDC3 #C385CD
tetradic
#CDC385 #85CD9F #858FCD #CD85B3
square
#CDC385 #85CD9F #858FCD #CD85B3
split-complementary
#CDC385 #85B3CD #9F85CD
monochromatic
#998C3F #BBAE5A #CDC385 #DFD8B0 #F1EEDC

Accessibility & contrast

On white

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

On black

11.74
#CDC385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC385
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC385#FFFFFF#000000##000000
##CDC3851.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc385;
/* rgb */ color: rgb(205, 195, 133);
/* oklch */ color: oklch(81.1% 0.082 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddd5a9',
    500: '#cdc385',
    950: '#000000',
  },
}
SCSS
$custom: #cdc385;
$custom-light: #ddd5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc385",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 133
  },
  "hsl": {
    "h": 51.667,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81085,
    "c": 0.08165,
    "h": 100.2
  },
  "luminance": 0.53703
}

Semantic roles & 50–950 ramp

primary
#CDC385
secondary
#57619F
accent
#43B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC385

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

Preview Lab → · Contrast checker → · Palette generator →

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