#CCC474#CCC474

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

Color values

HEX#CCC474
RGBrgb(204, 196, 116)
HSLhsl(55, 46%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.9%, 43.1%, 20%)
CIE-LABlab(78.22, -8.50, 41.05)
CIE-LCHlch(78.22, 41.92, 101.70°)
OKLaboklab(80.93% -0.0237 0.0993)
OKLCHoklch(80.93% 0.102 103.4)
XYZxyz(47.7951, 53.5795, 24.3438)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC474 #747CCC
analogous
#CC9874 #CCC474 #A8CC74
triadic
#CCC474 #74CCC4 #C474CC
tetradic
#CCC474 #74CC98 #747CCC #CC74A8
square
#CCC474 #74CC98 #747CCC #CC74A8
split-complementary
#CCC474 #74A8CC #9874CC
monochromatic
#918835 #BCB147 #CCC474 #DCD7A1 #EDEACE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC474#FFFFFF#000000##000000
##CCC4741.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)
#D1BF6E
Deuteranopia (green-blind)
#D4C377
Tritanopia (blue-blind)
#D8BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc474;
/* rgb */ color: rgb(204, 196, 116);
/* oklch */ color: oklch(80.9% 0.102 103.4);
Tailwind
colors: {
  custom: {
    50: '#ddd59d',
    500: '#ccc474',
    950: '#000000',
  },
}
SCSS
$custom: #ccc474;
$custom-light: #ddd59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc474",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 54.545,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80925,
    "c": 0.10205,
    "h": 103.4
  },
  "luminance": 0.53578
}

Semantic roles & 50–950 ramp

primary
#CCC474
secondary
#4D5497
accent
#39BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC474

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

Preview Lab → · Contrast checker → · Palette generator →

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