#CCCA4A#CCCA4A

#CCCA4A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.147 H 108.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CCCA4A
RGBrgb(204, 202, 74)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 63.7%, 20%)
CIE-LABlab(79.37, -14.97, 61.80)
CIE-LCHlch(79.37, 63.58, 103.61°)
OKLaboklab(81.7% -0.0465 0.1398)
OKLCHoklch(81.7% 0.147 108.4)
XYZxyz(47.2600, 55.5742, 14.7146)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA4A #4A4CCC
analogous
#CC894A #CCCA4A #8DCC4A
triadic
#CCCA4A #4ACCCA #CA4ACC
tetradic
#CCCA4A #4ACC89 #4A4CCC #CC4A8D
square
#CCCA4A #4ACC89 #4A4CCC #CC4A8D
split-complementary
#CCCA4A #4A8DCC #894ACC
monochromatic
#797822 #A9A730 #CCCA4A #D9D87A #E7E6A9

Accessibility & contrast

On white

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

On black

12.11
#CCCA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA4A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA4A#FFFFFF#000000##000000
##CCCA4A1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC239
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca4a;
/* rgb */ color: rgb(204, 202, 74);
/* oklch */ color: oklch(81.7% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#ccca4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccca4a;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca4a",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 74
  },
  "hsl": {
    "h": 59.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81701,
    "c": 0.14737,
    "h": 108.4
  },
  "luminance": 0.55573
}

Semantic roles & 50–950 ramp

primary
#CCCA4A
secondary
#393A82
accent
#4BDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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