#CCC795#CCC795

#CCC795 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.067 H 103.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCC795
RGBrgb(204, 199, 149)
HSLhsl(55, 35%, 69%)
HSVhsv(55, 27%, 80%)
CMYKcmyk(0%, 2.5%, 27%, 20%)
CIE-LABlab(79.53, -6.14, 25.73)
CIE-LCHlch(79.53, 26.45, 103.41°)
OKLaboklab(82.14% -0.0149 0.0648)
OKLCHoklch(82.14% 0.067 103)
XYZxyz(50.7502, 55.8551, 36.5356)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC795 #959ACC
analogous
#CCAC95 #CCC795 #B6CC95
triadic
#CCC795 #95CCC7 #C795CC
tetradic
#CCC795 #95CCAC #959ACC #CC95B6
square
#CCC795 #95CCAC #959ACC #CC95B6
split-complementary
#CCC795 #95B6CC #AC95CC
monochromatic
#9C944B #B8B16C #CCC795 #E0DDBE #F4F3E8

Accessibility & contrast

On white

1.73
#CCC795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CCC795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC795
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC795#FFFFFF#000000##000000
##CCC7951.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C392
Deuteranopia (green-blind)
#D2C697
Tritanopia (blue-blind)
#D4C0BA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc795;
/* rgb */ color: rgb(204, 199, 149);
/* oklch */ color: oklch(82.1% 0.067 103.0);
Tailwind
colors: {
  custom: {
    50: '#dcd7b4',
    500: '#ccc795',
    950: '#000000',
  },
}
SCSS
$custom: #ccc795;
$custom-light: #dcd7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc795",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 149
  },
  "hsl": {
    "h": 54.545,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82139,
    "c": 0.06653,
    "h": 103
  },
  "luminance": 0.55854
}

Semantic roles & 50–950 ramp

primary
#CCC795
secondary
#646AA1
accent
#42AE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC795

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

Preview Lab → · Contrast checker → · Palette generator →

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