#CCCC5A#CCCC5A

#CCCC5A is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.136 H 109.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCCC5A
RGBrgb(204, 204, 90)
HSLhsl(60, 53%, 58%)
HSVhsv(60, 56%, 80%)
CMYKcmyk(0%, 0%, 55.9%, 20%)
CIE-LABlab(80.05, -14.88, 55.67)
CIE-LCHlch(80.05, 57.62, 104.96°)
OKLaboklab(82.28% -0.0445 0.129)
OKLCHoklch(82.28% 0.136 109.1)
XYZxyz(48.3415, 56.7625, 18.0806)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC5A #5A5ACC
analogous
#CC935A #CCCC5A #93CC5A
triadic
#CCCC5A #5ACCCC #CC5ACC
tetradic
#CCCC5A #5ACC93 #5A5ACC #CC5A93
square
#CCCC5A #5ACC93 #5A5ACC #CC5A93
split-complementary
#CCCC5A #5A93CC #935ACC
monochromatic
#838329 #B2B237 #CCCC5A #DADA89 #E9E9B7

Accessibility & contrast

On white

1.70
#CCCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC5A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC5A#FFFFFF#000000##000000
##CCCC5A1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44E
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc5a;
/* rgb */ color: rgb(204, 204, 90);
/* oklch */ color: oklch(82.3% 0.136 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb8c',
    500: '#cccc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cccc5a;
$custom-light: #dedb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc5a",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 60,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82283,
    "c": 0.13645,
    "h": 109.1
  },
  "luminance": 0.56761
}

Semantic roles & 50–950 ramp

primary
#CCCC5A
secondary
#40408A
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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