#CCAC4A#CCAC4A

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

Color values

HEX#CCAC4A
RGBrgb(204, 172, 74)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 64%, 80%)
CMYKcmyk(0%, 15.7%, 63.7%, 20%)
CIE-LABlab(71.45, 0.54, 53.33)
CIE-LCHlch(71.45, 53.33, 89.42°)
OKLaboklab(75.41% -0.0023 0.1219)
OKLCHoklch(75.41% 0.122 91.1)
XYZxyz(40.8924, 42.8391, 12.5921)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC4A #4A6ACC
analogous
#CC6B4A #CCAC4A #ABCC4A
triadic
#CCAC4A #4ACCAC #AC4ACC
tetradic
#CCAC4A #4ACC6B #4A6ACC #CC4AAB
square
#CCAC4A #4ACC6B #4A6ACC #CC4AAB
split-complementary
#CCAC4A #4AABCC #6B4ACC
monochromatic
#796422 #A98B30 #CCAC4A #D9C27A #E7D8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAC4A#FFFFFF#000000##000000
##CCAC4A1.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)
#BEAA3F
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac4a;
/* rgb */ color: rgb(204, 172, 74);
/* oklch */ color: oklch(75.4% 0.122 91.1);
Tailwind
colors: {
  custom: {
    50: '#dfc480',
    500: '#ccac4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccac4a;
$custom-light: #dfc480;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac4a",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 45.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75412,
    "c": 0.12191,
    "h": 91.1
  },
  "luminance": 0.42837
}

Semantic roles & 50–950 ramp

primary
#CCAC4A
secondary
#9DABD4
accent
#6EDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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