#CCCA4F#CCCA4F

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

Color values

HEX#CCCA4F
RGBrgb(204, 202, 79)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 61.3%, 20%)
CIE-LABlab(79.41, -14.65, 59.77)
CIE-LCHlch(79.41, 61.53, 103.77°)
OKLaboklab(81.75% -0.0451 0.1363)
OKLCHoklch(81.75% 0.144 108.3)
XYZxyz(47.4352, 55.6443, 15.6373)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA4F #4F51CC
analogous
#CC8B4F #CCCA4F #8FCC4F
triadic
#CCCA4F #4FCCCA #CA4FCC
tetradic
#CCCA4F #4FCC8B #4F51CC #CC4F8F
square
#CCCA4F #4FCC8B #4F51CC #CC4F8F
split-complementary
#CCCA4F #4F8FCC #8B4FCC
monochromatic
#7D7B24 #ACAA32 #CCCA4F #DAD87E #E7E7AE

Accessibility & contrast

On white

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

On black

12.13
#CCCA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA4F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA4F#FFFFFF#000000##000000
##CCCA4F1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca4f;
/* rgb */ color: rgb(204, 202, 79);
/* oklch */ color: oklch(81.7% 0.144 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#ccca4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccca4f;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca4f",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 59.04,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81745,
    "c": 0.14354,
    "h": 108.3
  },
  "luminance": 0.55643
}

Semantic roles & 50–950 ramp

primary
#CCCA4F
secondary
#3B3C84
accent
#4CDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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