#CCCC75#CCCC75

#CCCC75 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.110 H 108.6°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CCCC75
RGBrgb(204, 204, 117)
HSLhsl(60, 46%, 63%)
HSVhsv(60, 43%, 80%)
CMYKcmyk(0%, 0%, 42.6%, 20%)
CIE-LABlab(80.35, -12.48, 43.22)
CIE-LCHlch(80.35, 44.98, 106.10°)
OKLaboklab(82.63% -0.035 0.1042)
OKLCHoklch(82.63% 0.11 108.6)
XYZxyz(49.7064, 57.3085, 25.2694)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC75 #7575CC
analogous
#CCA075 #CCCC75 #A0CC75
triadic
#CCCC75 #75CCCC #CC75CC
tetradic
#CCCC75 #75CCA0 #7575CC #CC75A0
square
#CCCC75 #75CCA0 #7575CC #CC75A0
split-complementary
#CCCC75 #75A0CC #A075CC
monochromatic
#919136 #BBBB48 #CCCC75 #DDDDA2 #EDEDCE

Accessibility & contrast

On white

1.69
#CCCC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CCCC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC75
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC75#FFFFFF#000000##000000
##CCCC751.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66E
Deuteranopia (green-blind)
#DAC979
Tritanopia (blue-blind)
#D7C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc75;
/* rgb */ color: rgb(204, 204, 117);
/* oklch */ color: oklch(82.6% 0.110 108.6);
Tailwind
colors: {
  custom: {
    50: '#dddb9e',
    500: '#cccc75',
    950: '#000000',
  },
}
SCSS
$custom: #cccc75;
$custom-light: #dddb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc75",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 117
  },
  "hsl": {
    "h": 60,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82627,
    "c": 0.10991,
    "h": 108.6
  },
  "luminance": 0.57307
}

Semantic roles & 50–950 ramp

primary
#CCCC75
secondary
#4E4E98
accent
#2CB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCC75

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

Preview Lab → · Contrast checker → · Palette generator →

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