#CCCA76#CCCA76

#CCCA76 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.107 H 107.3°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CCCA76
RGBrgb(204, 202, 118)
HSLhsl(59, 46%, 63%)
HSVhsv(59, 42%, 80%)
CMYKcmyk(0%, 1%, 42.2%, 20%)
CIE-LABlab(79.83, -11.36, 42.08)
CIE-LCHlch(79.83, 43.58, 105.11°)
OKLaboklab(82.22% -0.0317 0.1017)
OKLCHoklch(82.22% 0.107 107.3)
XYZxyz(49.2932, 56.3876, 25.4233)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA76 #7678CC
analogous
#CC9F76 #CCCA76 #A3CC76
triadic
#CCCA76 #76CCCA #CA76CC
tetradic
#CCCA76 #76CC9F #7678CC #CC76A3
square
#CCCA76 #76CC9F #7678CC #CC76A3
split-complementary
#CCCA76 #76A3CC #9F76CC
monochromatic
#918F36 #BBB949 #CCCA76 #DDDBA3 #EDEDCF

Accessibility & contrast

On white

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

On black

12.28
#CCCA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA76
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA76#FFFFFF#000000##000000
##CCCA761.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46F
Deuteranopia (green-blind)
#D8C87A
Tritanopia (blue-blind)
#D7C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca76;
/* rgb */ color: rgb(204, 202, 118);
/* oklch */ color: oklch(82.2% 0.107 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddda9f',
    500: '#ccca76',
    950: '#000000',
  },
}
SCSS
$custom: #ccca76;
$custom-light: #ddda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca76",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 118
  },
  "hsl": {
    "h": 58.605,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82219,
    "c": 0.10652,
    "h": 107.3
  },
  "luminance": 0.56386
}

Semantic roles & 50–950 ramp

primary
#CCCA76
secondary
#4E5098
accent
#30B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA76

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

Preview Lab → · Contrast checker → · Palette generator →

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