#CCCA7C#CCCA7C

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

Color values

HEX#CCCA7C
RGBrgb(204, 202, 124)
HSLhsl(59, 44%, 64%)
HSVhsv(59, 39%, 80%)
CMYKcmyk(0%, 1%, 39.2%, 20%)
CIE-LABlab(79.92, -10.72, 39.17)
CIE-LCHlch(79.92, 40.61, 105.31°)
OKLaboklab(82.31% -0.0294 0.0954)
OKLCHoklch(82.31% 0.1 107.1)
XYZxyz(49.6612, 56.5347, 27.3611)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA7C #7C7ECC
analogous
#CCA27C #CCCA7C #A6CC7C
triadic
#CCCA7C #7CCCCA #CA7CCC
tetradic
#CCCA7C #7CCCA2 #7C7ECC #CC7CA6
square
#CCCA7C #7CCCA2 #7C7ECC #CC7CA6
split-complementary
#CCCA7C #7CA6CC #A27CCC
monochromatic
#94923A #BBB850 #CCCA7C #DDDCA8 #EEEED4

Accessibility & contrast

On white

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

On black

12.31
#CCCA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA7C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA7C#FFFFFF#000000##000000
##CCCA7C1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C476
Deuteranopia (green-blind)
#D8C87F
Tritanopia (blue-blind)
#D7C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca7c;
/* rgb */ color: rgb(204, 202, 124);
/* oklch */ color: oklch(82.3% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#dddaa3',
    500: '#ccca7c',
    950: '#000000',
  },
}
SCSS
$custom: #ccca7c;
$custom-light: #dddaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca7c",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 58.5,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82312,
    "c": 0.09987,
    "h": 107.1
  },
  "luminance": 0.56534
}

Semantic roles & 50–950 ramp

primary
#CCCA7C
secondary
#52549A
accent
#32B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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