#CCC647#CCC647

#CCC647 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.146 H 106.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CCC647
RGBrgb(204, 198, 71)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 2.9%, 65.2%, 20%)
CIE-LABlab(78.28, -13.13, 61.87)
CIE-LCHlch(78.28, 63.25, 101.98°)
OKLaboklab(80.82% -0.0416 0.1395)
OKLCHoklch(80.82% 0.146 106.6)
XYZxyz(46.2349, 53.6820, 13.8862)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC647 #474DCC
analogous
#CC8447 #CCC647 #90CC47
triadic
#CCC647 #47CCC6 #C647CC
tetradic
#CCC647 #47CC84 #474DCC #CC4790
square
#CCC647 #47CC84 #474DCC #CC4790
split-complementary
#CCC647 #4790CC #8447CC
monochromatic
#777421 #A7A22E #CCC647 #D9D577 #E7E4A7

Accessibility & contrast

On white

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

On black

11.74
#CCC647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC647
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC647#FFFFFF#000000##000000
##CCC6471.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF36
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc647;
/* rgb */ color: rgb(204, 198, 71);
/* oklch */ color: oklch(80.8% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd781',
    500: '#ccc647',
    950: '#000000',
  },
}
SCSS
$custom: #ccc647;
$custom-light: #dfd781;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc647",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 57.293,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8082,
    "c": 0.14562,
    "h": 106.6
  },
  "luminance": 0.5368
}

Semantic roles & 50–950 ramp

primary
#CCC647
secondary
#373B80
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC647

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

Preview Lab → · Contrast checker → · Palette generator →

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