#CCAC49#CCAC49

#CCAC49 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.123 H 91.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CCAC49
RGBrgb(204, 172, 73)
HSLhsl(45, 56%, 54%)
HSVhsv(45, 64%, 80%)
CMYKcmyk(0%, 15.7%, 64.2%, 20%)
CIE-LABlab(71.44, 0.48, 53.77)
CIE-LCHlch(71.44, 53.77, 89.49°)
OKLaboklab(75.4% -0.0026 0.1227)
OKLCHoklch(75.4% 0.123 91.2)
XYZxyz(40.8590, 42.8257, 12.4161)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC49 #4969CC
analogous
#CC6B49 #CCAC49 #AACC49
triadic
#CCAC49 #49CCAC #AC49CC
tetradic
#CCAC49 #49CC6B #4969CC #CC49AA
square
#CCAC49 #49CC6B #4969CC #CC49AA
split-complementary
#CCAC49 #49AACC #6B49CC
monochromatic
#796422 #A98B2F #CCAC49 #D9C279 #E7D8A9

Accessibility & contrast

On white

2.20
#CCAC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CCAC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC49
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC49#FFFFFF#000000##000000
##CCAC491.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3E
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac49;
/* rgb */ color: rgb(204, 172, 73);
/* oklch */ color: oklch(75.4% 0.123 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc480',
    500: '#ccac49',
    950: '#000000',
  },
}
SCSS
$custom: #ccac49;
$custom-light: #dfc480;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac49",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 73
  },
  "hsl": {
    "h": 45.344,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75402,
    "c": 0.12271,
    "h": 91.2
  },
  "luminance": 0.42823
}

Semantic roles & 50–950 ramp

primary
#CCAC49
secondary
#9DAAD4
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC49

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

Preview Lab → · Contrast checker → · Palette generator →

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