#CDC285#CDC285

#CDC285 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.081 H 99.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC285
RGBrgb(205, 194, 133)
HSLhsl(51, 42%, 66%)
HSVhsv(51, 35%, 80%)
CMYKcmyk(0%, 5.4%, 35.1%, 19.6%)
CIE-LABlab(78.03, -5.18, 32.12)
CIE-LCHlch(78.03, 32.53, 99.16°)
OKLaboklab(80.88% -0.0129 0.0796)
OKLCHoklch(80.88% 0.081 99.2)
XYZxyz(48.7029, 53.2574, 29.8999)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC285 #8590CD
analogous
#CD9E85 #CDC285 #B4CD85
triadic
#CDC285 #85CDC2 #C285CD
tetradic
#CDC285 #85CD9E #8590CD #CD85B4
square
#CDC285 #85CD9E #8590CD #CD85B4
split-complementary
#CDC285 #85B4CD #9E85CD
monochromatic
#998B3F #BBAC5A #CDC285 #DFD8B0 #F1EDDC

Accessibility & contrast

On white

1.80
#CDC285 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC285 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC285
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC285#FFFFFF#000000##000000
##CDC2851.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE81
Deuteranopia (green-blind)
#D1C387
Tritanopia (blue-blind)
#D8BAB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc285;
/* rgb */ color: rgb(205, 194, 133);
/* oklch */ color: oklch(80.9% 0.081 99.2);
Tailwind
colors: {
  custom: {
    50: '#ddd4a9',
    500: '#cdc285',
    950: '#000000',
  },
}
SCSS
$custom: #cdc285;
$custom-light: #ddd4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc285",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 133
  },
  "hsl": {
    "h": 50.833,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80878,
    "c": 0.08061,
    "h": 99.2
  },
  "luminance": 0.53256
}

Semantic roles & 50–950 ramp

primary
#CDC285
secondary
#57629F
accent
#45B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC285

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

Preview Lab → · Contrast checker → · Palette generator →

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