#CCC541#CCC541

#CCC541 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.149 H 106.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CCC541
RGBrgb(204, 197, 65)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 68%, 80%)
CMYKcmyk(0%, 3.4%, 68.1%, 20%)
CIE-LABlab(77.97, -12.96, 63.92)
CIE-LCHlch(77.97, 65.22, 101.46°)
OKLaboklab(80.56% -0.0418 0.1429)
OKLCHoklch(80.56% 0.149 106.3)
XYZxyz(45.8240, 53.1531, 12.8458)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC541 #4148CC
analogous
#CC7F41 #CCC541 #8ECC41
triadic
#CCC541 #41CCC5 #C541CC
tetradic
#CCC541 #41CC7F #4148CC #CC418E
square
#CCC541 #41CC7F #4148CC #CC418E
split-complementary
#CCC541 #418ECC #7F41CC
monochromatic
#746F1F #A49E2C #CCC541 #D9D471 #E6E2A1

Accessibility & contrast

On white

1.81
#CCC541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CCC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC541
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC541#FFFFFF#000000##000000
##CCC5411.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2D
Deuteranopia (green-blind)
#D9C34A
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc541;
/* rgb */ color: rgb(204, 197, 65);
/* oklch */ color: oklch(80.6% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#dfd67d',
    500: '#ccc541',
    950: '#000000',
  },
}
SCSS
$custom: #ccc541;
$custom-light: #dfd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc541",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 56.978,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80559,
    "c": 0.14887,
    "h": 106.3
  },
  "luminance": 0.53152
}

Semantic roles & 50–950 ramp

primary
#CCC541
secondary
#35387C
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC541

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

Preview Lab → · Contrast checker → · Palette generator →

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