#CCCA75#CCCA75

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

Color values

HEX#CCCA75
RGBrgb(204, 202, 117)
HSLhsl(59, 46%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 1%, 42.6%, 20%)
CIE-LABlab(79.82, -11.46, 42.56)
CIE-LCHlch(79.82, 44.07, 105.08°)
OKLaboklab(82.2% -0.0321 0.1027)
OKLCHoklch(82.2% 0.108 107.4)
XYZxyz(49.2341, 56.3639, 25.1119)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA75 #7577CC
analogous
#CC9E75 #CCCA75 #A2CC75
triadic
#CCCA75 #75CCCA #CA75CC
tetradic
#CCCA75 #75CC9E #7577CC #CC75A2
square
#CCCA75 #75CC9E #7577CC #CC75A2
split-complementary
#CCCA75 #75A2CC #9E75CC
monochromatic
#918F36 #BBB948 #CCCA75 #DDDBA2 #EDECCE

Accessibility & contrast

On white

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

On black

12.27
#CCCA75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA75
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA75#FFFFFF#000000##000000
##CCCA751.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca75;
/* rgb */ color: rgb(204, 202, 117);
/* oklch */ color: oklch(82.2% 0.108 107.4);
Tailwind
colors: {
  custom: {
    50: '#ddda9e',
    500: '#ccca75',
    950: '#000000',
  },
}
SCSS
$custom: #ccca75;
$custom-light: #ddda9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca75",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 117
  },
  "hsl": {
    "h": 58.621,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82204,
    "c": 0.10761,
    "h": 107.4
  },
  "luminance": 0.56363
}

Semantic roles & 50–950 ramp

primary
#CCCA75
secondary
#4E4F98
accent
#30B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA75

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

Preview Lab → · Contrast checker → · Palette generator →

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