#CCC075#CCC075

#CCC075 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.097 H 100.3°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CCC075
RGBrgb(204, 192, 117)
HSLhsl(52, 46%, 63%)
HSVhsv(52, 43%, 80%)
CMYKcmyk(0%, 5.9%, 42.6%, 20%)
CIE-LABlab(77.17, -6.33, 39.24)
CIE-LCHlch(77.17, 39.75, 99.16°)
OKLaboklab(80.1% -0.0174 0.0952)
OKLCHoklch(80.1% 0.097 100.3)
XYZxyz(46.9634, 51.8224, 24.3550)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC075 #7581CC
analogous
#CC9475 #CCC075 #ACCC75
triadic
#CCC075 #75CCC0 #C075CC
tetradic
#CCC075 #75CC94 #7581CC #CC75AC
square
#CCC075 #75CC94 #7581CC #CC75AC
split-complementary
#CCC075 #75ACCC #9475CC
monochromatic
#918436 #BBAC48 #CCC075 #DDD4A2 #EDE9CE

Accessibility & contrast

On white

1.85
#CCC075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CCC075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC075
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC075#FFFFFF#000000##000000
##CCC0751.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6F
Deuteranopia (green-blind)
#D1C178
Tritanopia (blue-blind)
#D8B6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc075;
/* rgb */ color: rgb(204, 192, 117);
/* oklch */ color: oklch(80.1% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddd29e',
    500: '#ccc075',
    950: '#000000',
  },
}
SCSS
$custom: #ccc075;
$custom-light: #ddd29e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc075",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 117
  },
  "hsl": {
    "h": 51.724,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.0968,
    "h": 100.3
  },
  "luminance": 0.51821
}

Semantic roles & 50–950 ramp

primary
#CCC075
secondary
#4E5898
accent
#40B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC075

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

Preview Lab → · Contrast checker → · Palette generator →

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