#CCCA5D#CCCA5D

#CCCA5D is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.132 H 108.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCCA5D
RGBrgb(204, 202, 93)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 1%, 54.4%, 20%)
CIE-LABlab(79.54, -13.64, 53.73)
CIE-LCHlch(79.54, 55.44, 104.24°)
OKLaboklab(81.89% -0.0407 0.1252)
OKLCHoklch(81.89% 0.132 108)
XYZxyz(47.9995, 55.8700, 18.6093)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA5D #5D5FCC
analogous
#CC925D #CCCA5D #96CC5D
triadic
#CCCA5D #5DCCCA #CA5DCC
tetradic
#CCCA5D #5DCC92 #5D5FCC #CC5D96
square
#CCCA5D #5DCC92 #5D5FCC #CC5D96
split-complementary
#CCCA5D #5D96CC #925DCC
monochromatic
#85832A #B3B138 #CCCA5D #DBD98C #E9E8BA

Accessibility & contrast

On white

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

On black

12.17
#CCCA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA5D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA5D#FFFFFF#000000##000000
##CCCA5D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca5d;
/* rgb */ color: rgb(204, 202, 93);
/* oklch */ color: oklch(81.9% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded98e',
    500: '#ccca5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccca5d;
$custom-light: #ded98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca5d",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 58.919,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81889,
    "c": 0.13161,
    "h": 108
  },
  "luminance": 0.55869
}

Semantic roles & 50–950 ramp

primary
#CCCA5D
secondary
#41438C
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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