#CDCB87#CDCB87

#CDCB87 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.088 H 106.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCB87
RGBrgb(205, 203, 135)
HSLhsl(58, 41%, 67%)
HSVhsv(58, 34%, 80%)
CMYKcmyk(0%, 1%, 34.1%, 19.6%)
CIE-LABlab(80.43, -9.58, 34.23)
CIE-LCHlch(80.43, 35.54, 105.64°)
OKLaboklab(82.79% -0.0254 0.0846)
OKLCHoklch(82.79% 0.088 106.7)
XYZxyz(50.9064, 57.4413, 31.3226)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB87 #8789CD
analogous
#CDA887 #CDCB87 #ACCD87
triadic
#CDCB87 #87CDCB #CB87CD
tetradic
#CDCB87 #87CDA8 #8789CD #CD87AC
square
#CDCB87 #87CDA8 #8789CD #CD87AC
split-complementary
#CDCB87 #87ACCD #A887CD
monochromatic
#9A9740 #BBB85C #CDCB87 #DFDEB2 #F1F0DD

Accessibility & contrast

On white

1.68
#CDCB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CDCB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB87
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB87#FFFFFF#000000##000000
##CDCB871.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C682
Deuteranopia (green-blind)
#D7C98A
Tritanopia (blue-blind)
#D7C3BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb87;
/* rgb */ color: rgb(205, 203, 135);
/* oklch */ color: oklch(82.8% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#dddaaa',
    500: '#cdcb87',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb87;
$custom-light: #dddaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb87",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 135
  },
  "hsl": {
    "h": 58.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8279,
    "c": 0.08829,
    "h": 106.7
  },
  "luminance": 0.5744
}

Semantic roles & 50–950 ramp

primary
#CDCB87
secondary
#585AA0
accent
#35B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCB87

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

Preview Lab → · Contrast checker → · Palette generator →

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