#CCAC47#CCAC47

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

Color values

HEX#CCAC47
RGBrgb(204, 172, 71)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 15.7%, 65.2%, 20%)
CIE-LABlab(71.42, 0.35, 54.64)
CIE-LCHlch(71.42, 54.64, 89.63°)
OKLaboklab(75.38% -0.0032 0.1242)
OKLCHoklch(75.38% 0.124 91.5)
XYZxyz(40.7937, 42.7996, 12.0725)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC47 #4767CC
analogous
#CC6A47 #CCAC47 #AACC47
triadic
#CCAC47 #47CCAC #AC47CC
tetradic
#CCAC47 #47CC6A #4767CC #CC47AA
square
#CCAC47 #47CC6A #4767CC #CC47AA
split-complementary
#CCAC47 #47AACC #6A47CC
monochromatic
#776321 #A78A2E #CCAC47 #D9C277 #E7D7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAC47#FFFFFF#000000##000000
##CCAC471.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)
#BEAA3B
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac47;
/* rgb */ color: rgb(204, 172, 71);
/* oklch */ color: oklch(75.4% 0.124 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfc47f',
    500: '#ccac47',
    950: '#000000',
  },
}
SCSS
$custom: #ccac47;
$custom-light: #dfc47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac47",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 45.564,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75382,
    "c": 0.12427,
    "h": 91.5
  },
  "luminance": 0.42797
}

Semantic roles & 50–950 ramp

primary
#CCAC47
secondary
#9BA9D4
accent
#6CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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