#CDC587#CDC587

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

Color values

HEX#CDC587
RGBrgb(205, 197, 135)
HSLhsl(53, 41%, 67%)
HSVhsv(53, 34%, 80%)
CMYKcmyk(0%, 3.9%, 34.1%, 19.6%)
CIE-LABlab(78.85, -6.50, 32.16)
CIE-LCHlch(78.85, 32.80, 101.42°)
OKLaboklab(81.54% -0.0166 0.0797)
OKLCHoklch(81.54% 0.081 101.7)
XYZxyz(49.5169, 54.6621, 30.8594)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC587 #878FCD
analogous
#CDA287 #CDC587 #B2CD87
triadic
#CDC587 #87CDC5 #C587CD
tetradic
#CDC587 #87CDA2 #878FCD #CD87B2
square
#CDC587 #87CDA2 #878FCD #CD87B2
split-complementary
#CDC587 #87B2CD #A287CD
monochromatic
#9A8F40 #BBB05C #CDC587 #DFDAB2 #F1EFDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC587#FFFFFF#000000##000000
##CDC5871.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)
#D0C183
Deuteranopia (green-blind)
#D3C589
Tritanopia (blue-blind)
#D7BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc587;
/* rgb */ color: rgb(205, 197, 135);
/* oklch */ color: oklch(81.5% 0.081 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddd6aa',
    500: '#cdc587',
    950: '#000000',
  },
}
SCSS
$custom: #cdc587;
$custom-light: #ddd6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc587",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 135
  },
  "hsl": {
    "h": 53.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81537,
    "c": 0.08142,
    "h": 101.7
  },
  "luminance": 0.54661
}

Semantic roles & 50–950 ramp

primary
#CDC587
secondary
#5861A0
accent
#40B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC587

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

Preview Lab → · Contrast checker → · Palette generator →

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