#CCAC46#CCAC46

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

Color values

HEX#CCAC46
RGBrgb(204, 172, 70)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 66%, 80%)
CMYKcmyk(0%, 15.7%, 65.7%, 20%)
CIE-LABlab(71.41, 0.29, 55.07)
CIE-LCHlch(71.41, 55.07, 89.70°)
OKLaboklab(75.37% -0.0035 0.125)
OKLCHoklch(75.37% 0.125 91.6)
XYZxyz(40.7619, 42.7869, 11.9048)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC46 #4666CC
analogous
#CC6946 #CCAC46 #A9CC46
triadic
#CCAC46 #46CCAC #AC46CC
tetradic
#CCAC46 #46CC69 #4666CC #CC46A9
square
#CCAC46 #46CC69 #4666CC #CC46A9
split-complementary
#CCAC46 #46A9CC #6946CC
monochromatic
#776221 #A78A2E #CCAC46 #D9C276 #E6D7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAC46#FFFFFF#000000##000000
##CCAC461.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)
#BEAA3A
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac46;
/* rgb */ color: rgb(204, 172, 70);
/* oklch */ color: oklch(75.4% 0.125 91.6);
Tailwind
colors: {
  custom: {
    50: '#dfc47e',
    500: '#ccac46',
    950: '#000000',
  },
}
SCSS
$custom: #ccac46;
$custom-light: #dfc47e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac46",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 45.672,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75373,
    "c": 0.12504,
    "h": 91.6
  },
  "luminance": 0.42785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCAC46

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

Preview Lab → · Contrast checker → · Palette generator →

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