#CDC895#CDC895

#CDC895 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.068 H 103.1°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CDC895
RGBrgb(205, 200, 149)
HSLhsl(55, 36%, 69%)
HSVhsv(55, 27%, 80%)
CMYKcmyk(0%, 2.4%, 27.3%, 19.6%)
CIE-LABlab(79.87, -6.27, 26.21)
CIE-LCHlch(79.87, 26.95, 103.46°)
OKLaboklab(82.43% -0.0153 0.066)
OKLCHoklch(82.43% 0.068 103.1)
XYZxyz(51.2561, 56.4586, 36.6254)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC895 #959ACD
analogous
#CDAC95 #CDC895 #B6CD95
triadic
#CDC895 #95CDC8 #C895CD
tetradic
#CDC895 #95CDAC #959ACD #CD95B6
square
#CDC895 #95CDAC #959ACD #CD95B6
split-complementary
#CDC895 #95B6CD #AC95CD
monochromatic
#9D964A #B9B26B #CDC895 #E1DEBF #F4F3E8

Accessibility & contrast

On white

1.71
#CDC895 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CDC895 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC895
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC895#FFFFFF#000000##000000
##CDC8951.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C492
Deuteranopia (green-blind)
#D3C797
Tritanopia (blue-blind)
#D5C1BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc895;
/* rgb */ color: rgb(205, 200, 149);
/* oklch */ color: oklch(82.4% 0.068 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd8b4',
    500: '#cdc895',
    950: '#000000',
  },
}
SCSS
$custom: #cdc895;
$custom-light: #ddd8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc895",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 149
  },
  "hsl": {
    "h": 54.643,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8243,
    "c": 0.06774,
    "h": 103.1
  },
  "luminance": 0.56458
}

Semantic roles & 50–950 ramp

primary
#CDC895
secondary
#646AA2
accent
#41AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC895

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

Preview Lab → · Contrast checker → · Palette generator →

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