#CCCA54#CCCA54

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

Color values

HEX#CCCA54
RGBrgb(204, 202, 84)
HSLhsl(59, 54%, 56%)
HSVhsv(59, 59%, 80%)
CMYKcmyk(0%, 1%, 58.8%, 20%)
CIE-LABlab(79.45, -14.31, 57.66)
CIE-LCHlch(79.45, 59.41, 103.94°)
OKLaboklab(81.79% -0.0436 0.1325)
OKLCHoklch(81.79% 0.139 108.2)
XYZxyz(47.6240, 55.7199, 16.6321)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA54 #5456CC
analogous
#CC8E54 #CCCA54 #92CC54
triadic
#CCCA54 #54CCCA #CA54CC
tetradic
#CCCA54 #54CC8E #5456CC #CC5492
square
#CCCA54 #54CC8E #5456CC #CC5492
split-complementary
#CCCA54 #5492CC #8E54CC
monochromatic
#807E26 #AFAD34 #CCCA54 #DAD983 #E8E7B2

Accessibility & contrast

On white

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

On black

12.14
#CCCA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA54
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA54#FFFFFF#000000##000000
##CCCA541.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca54;
/* rgb */ color: rgb(204, 202, 84);
/* oklch */ color: oklch(81.8% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded989',
    500: '#ccca54',
    950: '#000000',
  },
}
SCSS
$custom: #ccca54;
$custom-light: #ded989;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca54",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 59,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81794,
    "c": 0.13947,
    "h": 108.2
  },
  "luminance": 0.55719
}

Semantic roles & 50–950 ramp

primary
#CCCA54
secondary
#3D3E87
accent
#4DDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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