#CCCA56#CCCA56

#CCCA56 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.138 H 108.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CCCA56
RGBrgb(204, 202, 86)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 1%, 57.8%, 20%)
CIE-LABlab(79.47, -14.17, 56.81)
CIE-LCHlch(79.47, 58.55, 104.00°)
OKLaboklab(81.81% -0.043 0.1309)
OKLCHoklch(81.81% 0.138 108.2)
XYZxyz(47.7035, 55.7517, 17.0506)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA56 #5658CC
analogous
#CC8F56 #CCCA56 #93CC56
triadic
#CCCA56 #56CCCA #CA56CC
tetradic
#CCCA56 #56CC8F #5658CC #CC5693
square
#CCCA56 #56CC8F #5658CC #CC5693
split-complementary
#CCCA56 #5693CC #8F56CC
monochromatic
#817F27 #B0AE35 #CCCA56 #DAD985 #E8E7B4

Accessibility & contrast

On white

1.73
#CCCA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CCCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA56
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA56#FFFFFF#000000##000000
##CCCA561.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C349
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca56;
/* rgb */ color: rgb(204, 202, 86);
/* oklch */ color: oklch(81.8% 0.138 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded98a',
    500: '#ccca56',
    950: '#000000',
  },
}
SCSS
$custom: #ccca56;
$custom-light: #ded98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca56",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 58.983,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81814,
    "c": 0.13778,
    "h": 108.2
  },
  "luminance": 0.5575
}

Semantic roles & 50–950 ramp

primary
#CCCA56
secondary
#3E3F88
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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