#CCCA7E#CCCA7E

#CCCA7E is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.098 H 107.1°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CCCA7E
RGBrgb(204, 202, 126)
HSLhsl(58, 43%, 65%)
HSVhsv(58, 38%, 80%)
CMYKcmyk(0%, 1%, 38.2%, 20%)
CIE-LABlab(79.95, -10.50, 38.19)
CIE-LCHlch(79.95, 39.61, 105.38°)
OKLaboklab(82.34% -0.0286 0.0933)
OKLCHoklch(82.34% 0.098 107.1)
XYZxyz(49.7890, 56.5858, 28.0340)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA7E #7E80CC
analogous
#CCA37E #CCCA7E #A7CC7E
triadic
#CCCA7E #7ECCCA #CA7ECC
tetradic
#CCCA7E #7ECCA3 #7E80CC #CC7EA7
square
#CCCA7E #7ECCA3 #7E80CC #CC7EA7
split-complementary
#CCCA7E #7EA7CC #A37ECC
monochromatic
#95923B #BBB852 #CCCA7E #DDDCAA #EFEED6

Accessibility & contrast

On white

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

On black

12.32
#CCCA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA7E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA7E#FFFFFF#000000##000000
##CCCA7E1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C478
Deuteranopia (green-blind)
#D7C881
Tritanopia (blue-blind)
#D6C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca7e;
/* rgb */ color: rgb(204, 202, 126);
/* oklch */ color: oklch(82.3% 0.098 107.1);
Tailwind
colors: {
  custom: {
    50: '#dddaa4',
    500: '#ccca7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccca7e;
$custom-light: #dddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca7e",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 126
  },
  "hsl": {
    "h": 58.462,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82344,
    "c": 0.0976,
    "h": 107.1
  },
  "luminance": 0.56585
}

Semantic roles & 50–950 ramp

primary
#CCCA7E
secondary
#53559B
accent
#33B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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