#CCCA77#CCCA77

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

Color values

HEX#CCCA77
RGBrgb(204, 202, 119)
HSLhsl(59, 45%, 63%)
HSVhsv(59, 42%, 80%)
CMYKcmyk(0%, 1%, 41.7%, 20%)
CIE-LABlab(79.85, -11.26, 41.59)
CIE-LCHlch(79.85, 43.09, 105.14°)
OKLaboklab(82.23% -0.0314 0.1007)
OKLCHoklch(82.23% 0.105 107.3)
XYZxyz(49.3530, 56.4115, 25.7379)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA77 #7779CC
analogous
#CC9F77 #CCCA77 #A3CC77
triadic
#CCCA77 #77CCCA #CA77CC
tetradic
#CCCA77 #77CC9F #7779CC #CC77A3
square
#CCCA77 #77CC9F #7779CC #CC77A3
split-complementary
#CCCA77 #77A3CC #9F77CC
monochromatic
#929037 #BBB94A #CCCA77 #DDDBA4 #EDEDD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA77#FFFFFF#000000##000000
##CCCA771.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)
#D6C470
Deuteranopia (green-blind)
#D8C87B
Tritanopia (blue-blind)
#D7C0B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca77;
/* rgb */ color: rgb(204, 202, 119);
/* oklch */ color: oklch(82.2% 0.105 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddda9f',
    500: '#ccca77',
    950: '#000000',
  },
}
SCSS
$custom: #ccca77;
$custom-light: #ddda9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca77",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 58.588,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82234,
    "c": 0.10542,
    "h": 107.3
  },
  "luminance": 0.5641
}

Semantic roles & 50–950 ramp

primary
#CCCA77
secondary
#4F5198
accent
#30B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA77

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

Preview Lab → · Contrast checker → · Palette generator →

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