#CCC645#CCC645

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

Color values

HEX#CCC645
RGBrgb(204, 198, 69)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 2.9%, 66.2%, 20%)
CIE-LABlab(78.26, -13.25, 62.66)
CIE-LCHlch(78.26, 64.04, 101.94°)
OKLaboklab(80.8% -0.0422 0.1409)
OKLCHoklch(80.8% 0.147 106.7)
XYZxyz(46.1718, 53.6568, 13.5537)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC645 #454BCC
analogous
#CC8245 #CCC645 #8ECC45
triadic
#CCC645 #45CCC6 #C645CC
tetradic
#CCC645 #45CC82 #454BCC #CC458E
square
#CCC645 #45CC82 #454BCC #CC458E
split-complementary
#CCC645 #458ECC #8245CC
monochromatic
#767220 #A6A12E #CCC645 #D9D575 #E6E3A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC645#FFFFFF#000000##000000
##CCC6451.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)
#D6BF33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc645;
/* rgb */ color: rgb(204, 198, 69);
/* oklch */ color: oklch(80.8% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd780',
    500: '#ccc645',
    950: '#000000',
  },
}
SCSS
$custom: #ccc645;
$custom-light: #dfd780;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc645",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 57.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80804,
    "c": 0.14705,
    "h": 106.7
  },
  "luminance": 0.53655
}

Semantic roles & 50–950 ramp

primary
#CCC645
secondary
#363A7F
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC645

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

Preview Lab → · Contrast checker → · Palette generator →

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