#CCC995#CCC995

#CCC995 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.069 H 105.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CCC995
RGBrgb(204, 201, 149)
HSLhsl(57, 35%, 69%)
HSVhsv(57, 27%, 80%)
CMYKcmyk(0%, 1.5%, 27%, 20%)
CIE-LABlab(80.06, -7.17, 26.44)
CIE-LCHlch(80.06, 27.40, 105.17°)
OKLaboklab(82.55% -0.0179 0.0666)
OKLCHoklch(82.55% 0.069 105)
XYZxyz(51.2134, 56.7814, 36.6900)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC995 #9598CC
analogous
#CCAE95 #CCC995 #B4CC95
triadic
#CCC995 #95CCC9 #C995CC
tetradic
#CCC995 #95CCAE #9598CC #CC95B4
square
#CCC995 #95CCAE #9598CC #CC95B4
split-complementary
#CCC995 #95B4CC #AE95CC
monochromatic
#9C974B #B8B46C #CCC995 #E0DEBE #F4F3E8

Accessibility & contrast

On white

1.70
#CCC995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CCC995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC995
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC995#FFFFFF#000000##000000
##CCC9951.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C592
Deuteranopia (green-blind)
#D4C897
Tritanopia (blue-blind)
#D4C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc995;
/* rgb */ color: rgb(204, 201, 149);
/* oklch */ color: oklch(82.6% 0.069 105.0);
Tailwind
colors: {
  custom: {
    50: '#dcd9b4',
    500: '#ccc995',
    950: '#000000',
  },
}
SCSS
$custom: #ccc995;
$custom-light: #dcd9b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc995",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 149
  },
  "hsl": {
    "h": 56.727,
    "s": 35.032,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82554,
    "c": 0.06891,
    "h": 105
  },
  "luminance": 0.56781
}

Semantic roles & 50–950 ramp

primary
#CCC995
secondary
#6467A1
accent
#3EAE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC995

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

Preview Lab → · Contrast checker → · Palette generator →

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