#CCC041#CCC041

#CCC041 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.144 H 103.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CCC041
RGBrgb(204, 192, 65)
HSLhsl(55, 58%, 53%)
HSVhsv(55, 68%, 80%)
CMYKcmyk(0%, 5.9%, 68.1%, 20%)
CIE-LABlab(76.63, -10.42, 62.57)
CIE-LCHlch(76.63, 63.43, 99.45°)
OKLaboklab(79.5% -0.0346 0.14)
OKLCHoklch(79.5% 0.144 103.9)
XYZxyz(44.7074, 50.9200, 12.4736)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC041 #414DCC
analogous
#CC7A41 #CCC041 #93CC41
triadic
#CCC041 #41CCC0 #C041CC
tetradic
#CCC041 #41CC7A #414DCC #CC4193
square
#CCC041 #41CC7A #414DCC #CC4193
split-complementary
#CCC041 #4193CC #7A41CC
monochromatic
#746C1F #A4992C #CCC041 #D9D071 #E6E0A1

Accessibility & contrast

On white

1.88
#CCC041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CCC041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC041
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC041#FFFFFF#000000##000000
##CCC0411.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#DBB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc041;
/* rgb */ color: rgb(204, 192, 65);
/* oklch */ color: oklch(79.5% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd27d',
    500: '#ccc041',
    950: '#000000',
  },
}
SCSS
$custom: #ccc041;
$custom-light: #dfd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc041",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 54.82,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79497,
    "c": 0.14425,
    "h": 103.9
  },
  "luminance": 0.50918
}

Semantic roles & 50–950 ramp

primary
#CCC041
secondary
#353B7C
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC041

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

Preview Lab → · Contrast checker → · Palette generator →

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