#CCC644#CCC644

#CCC644 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.148 H 106.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CCC644
RGBrgb(204, 198, 68)
HSLhsl(57, 57%, 53%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 2.9%, 66.7%, 20%)
CIE-LABlab(78.25, -13.30, 63.05)
CIE-LCHlch(78.25, 64.43, 101.91°)
OKLaboklab(80.8% -0.0424 0.1415)
OKLCHoklch(80.8% 0.148 106.7)
XYZxyz(46.1410, 53.6444, 13.3916)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC644 #444ACC
analogous
#CC8244 #CCC644 #8ECC44
triadic
#CCC644 #44CCC6 #C644CC
tetradic
#CCC644 #44CC82 #444ACC #CC448E
square
#CCC644 #44CC82 #444ACC #CC448E
split-complementary
#CCC644 #448ECC #8244CC
monochromatic
#767220 #A6A02D #CCC644 #D9D574 #E6E3A4

Accessibility & contrast

On white

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

On black

11.73
#CCC644 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC644
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC644#FFFFFF#000000##000000
##CCC6441.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc644;
/* rgb */ color: rgb(204, 198, 68);
/* oklch */ color: oklch(80.8% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd77f',
    500: '#ccc644',
    950: '#000000',
  },
}
SCSS
$custom: #ccc644;
$custom-light: #dfd77f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc644",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 68
  },
  "hsl": {
    "h": 57.353,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80796,
    "c": 0.14776,
    "h": 106.7
  },
  "luminance": 0.53643
}

Semantic roles & 50–950 ramp

primary
#CCC644
secondary
#36397E
accent
#4EE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC644

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

Preview Lab → · Contrast checker → · Palette generator →

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