#CCC475#CCC475

#CCC475 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.101 H 103.3°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CCC475
RGBrgb(204, 196, 117)
HSLhsl(54, 46%, 63%)
HSVhsv(54, 43%, 80%)
CMYKcmyk(0%, 3.9%, 42.6%, 20%)
CIE-LABlab(78.23, -8.40, 40.57)
CIE-LCHlch(78.23, 41.43, 101.69°)
OKLaboklab(80.94% -0.0233 0.0982)
OKLCHoklch(80.94% 0.101 103.3)
XYZxyz(47.8536, 53.6029, 24.6518)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC475 #757DCC
analogous
#CC9875 #CCC475 #A8CC75
triadic
#CCC475 #75CCC4 #C475CC
tetradic
#CCC475 #75CC98 #757DCC #CC75A8
square
#CCC475 #75CC98 #757DCC #CC75A8
split-complementary
#CCC475 #75A8CC #9875CC
monochromatic
#918936 #BBB148 #CCC475 #DDD7A2 #EDEACE

Accessibility & contrast

On white

1.79
#CCC475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CCC475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC475
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC475#FFFFFF#000000##000000
##CCC4751.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D4C378
Tritanopia (blue-blind)
#D8BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc475;
/* rgb */ color: rgb(204, 196, 117);
/* oklch */ color: oklch(80.9% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd59e',
    500: '#ccc475',
    950: '#000000',
  },
}
SCSS
$custom: #ccc475;
$custom-light: #ddd59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc475",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 117
  },
  "hsl": {
    "h": 54.483,
    "s": 46.032,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8094,
    "c": 0.10096,
    "h": 103.3
  },
  "luminance": 0.53602
}

Semantic roles & 50–950 ramp

primary
#CCC475
secondary
#4E5498
accent
#39B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC475

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

Preview Lab → · Contrast checker → · Palette generator →

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