#CCC754#CCC754

#CCC754 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.136 H 106.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CCC754
RGBrgb(204, 199, 84)
HSLhsl(58, 54%, 56%)
HSVhsv(58, 59%, 80%)
CMYKcmyk(0%, 2.5%, 58.8%, 20%)
CIE-LABlab(78.65, -12.80, 56.78)
CIE-LCHlch(78.65, 58.20, 102.70°)
OKLaboklab(81.15% -0.0393 0.1306)
OKLCHoklch(81.15% 0.136 106.7)
XYZxyz(46.9270, 54.3258, 16.3998)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC754 #5459CC
analogous
#CC8B54 #CCC754 #95CC54
triadic
#CCC754 #54CCC7 #C754CC
tetradic
#CCC754 #54CC8B #5459CC #CC5495
square
#CCC754 #54CC8B #5459CC #CC5495
split-complementary
#CCC754 #5495CC #8B54CC
monochromatic
#807C26 #AFAA34 #CCC754 #DAD683 #E8E6B2

Accessibility & contrast

On white

1.77
#CCC754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CCC754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC754
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC754#FFFFFF#000000##000000
##CCC7541.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc754;
/* rgb */ color: rgb(204, 199, 84);
/* oklch */ color: oklch(81.2% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded788',
    500: '#ccc754',
    950: '#000000',
  },
}
SCSS
$custom: #ccc754;
$custom-light: #ded788;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc754",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 57.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81154,
    "c": 0.13638,
    "h": 106.7
  },
  "luminance": 0.54324
}

Semantic roles & 50–950 ramp

primary
#CCC754
secondary
#3D4087
accent
#51DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC754

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

Preview Lab → · Contrast checker → · Palette generator →

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