#CCC547#CCC547

#CCC547 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.145 H 106.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CCC547
RGBrgb(204, 197, 71)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 3.4%, 65.2%, 20%)
CIE-LABlab(78.01, -12.63, 61.60)
CIE-LCHlch(78.01, 62.88, 101.58°)
OKLaboklab(80.61% -0.0402 0.139)
OKLCHoklch(80.61% 0.145 106.1)
XYZxyz(46.0071, 53.2264, 13.8103)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC547 #474ECC
analogous
#CC8347 #CCC547 #91CC47
triadic
#CCC547 #47CCC5 #C547CC
tetradic
#CCC547 #47CC83 #474ECC #CC4791
square
#CCC547 #47CC83 #474ECC #CC4791
split-complementary
#CCC547 #4791CC #8347CC
monochromatic
#777321 #A7A12E #CCC547 #D9D477 #E7E3A7

Accessibility & contrast

On white

1.80
#CCC547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CCC547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC547
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC547#FFFFFF#000000##000000
##CCC5471.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc547;
/* rgb */ color: rgb(204, 197, 71);
/* oklch */ color: oklch(80.6% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd681',
    500: '#ccc547',
    950: '#000000',
  },
}
SCSS
$custom: #ccc547;
$custom-light: #dfd681;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc547",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 71
  },
  "hsl": {
    "h": 56.842,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80607,
    "c": 0.14465,
    "h": 106.1
  },
  "luminance": 0.53225
}

Semantic roles & 50–950 ramp

primary
#CCC547
secondary
#373B80
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC547

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

Preview Lab → · Contrast checker → · Palette generator →

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