#CCC895#CCC895

#CCC895 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.068 H 104.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC895
RGBrgb(204, 200, 149)
HSLhsl(56, 35%, 69%)
HSVhsv(56, 27%, 80%)
CMYKcmyk(0%, 2%, 27%, 20%)
CIE-LABlab(79.79, -6.65, 26.09)
CIE-LCHlch(79.79, 26.92, 104.31°)
OKLaboklab(82.35% -0.0164 0.0657)
OKLCHoklch(82.35% 0.068 104)
XYZxyz(50.9811, 56.3167, 36.6125)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC895 #9599CC
analogous
#CCAD95 #CCC895 #B5CC95
triadic
#CCC895 #95CCC8 #C895CC
tetradic
#CCC895 #95CCAD #9599CC #CC95B5
square
#CCC895 #95CCAD #9599CC #CC95B5
split-complementary
#CCC895 #95B5CC #AD95CC
monochromatic
#9C964B #B8B36C #CCC895 #E0DDBE #F4F3E8

Accessibility & contrast

On white

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

On black

12.26
#CCC895 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC895
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC895#FFFFFF#000000##000000
##CCC8951.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc895;
/* rgb */ color: rgb(204, 200, 149);
/* oklch */ color: oklch(82.3% 0.068 104.0);
Tailwind
colors: {
  custom: {
    50: '#dcd8b4',
    500: '#ccc895',
    950: '#000000',
  },
}
SCSS
$custom: #ccc895;
$custom-light: #dcd8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc895",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 149
  },
  "hsl": {
    "h": 55.636,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82346,
    "c": 0.06771,
    "h": 104
  },
  "luminance": 0.56316
}

Semantic roles & 50–950 ramp

primary
#CCC895
secondary
#6469A1
accent
#40AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC895

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

Preview Lab → · Contrast checker → · Palette generator →

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