#CCAC4C#CCAC4C

#CCAC4C is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.120 H 90.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CCAC4C
RGBrgb(204, 172, 76)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.7%, 62.7%, 20%)
CIE-LABlab(71.46, 0.67, 52.44)
CIE-LCHlch(71.46, 52.44, 89.27°)
OKLaboklab(75.43% -0.0016 0.1203)
OKLCHoklch(75.43% 0.12 90.8)
XYZxyz(40.9608, 42.8665, 12.9526)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC4C #4C6CCC
analogous
#CC6C4C #CCAC4C #ACCC4C
triadic
#CCAC4C #4CCCAC #AC4CCC
tetradic
#CCAC4C #4CCC6C #4C6CCC #CC4CAC
square
#CCAC4C #4CCC6C #4C6CCC #CC4CAC
split-complementary
#CCAC4C #4CACCC #6C4CCC
monochromatic
#7B6523 #AA8C31 #CCAC4C #DAC27C #E7D8AB

Accessibility & contrast

On white

2.19
#CCAC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CCAC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC4C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC4C#FFFFFF#000000##000000
##CCAC4C1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccac4c;
/* rgb */ color: rgb(204, 172, 76);
/* oklch */ color: oklch(75.4% 0.120 90.8);
Tailwind
colors: {
  custom: {
    50: '#dfc482',
    500: '#ccac4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccac4c;
$custom-light: #dfc482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac4c",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 76
  },
  "hsl": {
    "h": 45,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75433,
    "c": 0.12029,
    "h": 90.8
  },
  "luminance": 0.42864
}

Semantic roles & 50–950 ramp

primary
#CCAC4C
secondary
#9FACD5
accent
#6EDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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