#CDCE87#CDCE87

#CDCE87 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.4% C 0.092 H 108.9°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#CDCE87
RGBrgb(205, 206, 135)
HSLhsl(61, 42%, 67%)
HSVhsv(61, 34%, 81%)
CMYKcmyk(0.5%, 0%, 34.5%, 19.2%)
CIE-LABlab(81.22, -11.11, 35.26)
CIE-LCHlch(81.22, 36.97, 107.49°)
OKLaboklab(83.42% -0.0298 0.087)
OKLCHoklch(83.42% 0.092 108.9)
XYZxyz(51.6218, 58.8719, 31.5610)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE87 #8887CE
analogous
#CEAC87 #CDCE87 #AACE87
triadic
#CDCE87 #87CDCE #CE87CD
tetradic
#CDCE87 #87CEAC #8887CE #CE87AA
square
#CDCE87 #87CEAC #8887CE #CE87AA
split-complementary
#CDCE87 #87AACE #AC87CE
monochromatic
#9A9B3F #BBBC5C #CDCE87 #DFE0B2 #F1F1DE

Accessibility & contrast

On white

1.64
#CDCE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#CDCE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE87
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE87#FFFFFF#000000##000000
##CDCE871.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#DACB8A
Tritanopia (blue-blind)
#D6C6BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdce87;
/* rgb */ color: rgb(205, 206, 135);
/* oklch */ color: oklch(83.4% 0.092 108.9);
Tailwind
colors: {
  custom: {
    50: '#dddcaa',
    500: '#cdce87',
    950: '#000000',
  },
}
SCSS
$custom: #cdce87;
$custom-light: #dddcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce87",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 135
  },
  "hsl": {
    "h": 60.845,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83421,
    "c": 0.09192,
    "h": 108.9
  },
  "luminance": 0.58871
}

Semantic roles & 50–950 ramp

primary
#CDCE87
secondary
#5958A1
accent
#30B532
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCE87

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

Preview Lab → · Contrast checker → · Palette generator →

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