#CCAC41#CCAC41

#CCAC41 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.129 H 92.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CCAC41
RGBrgb(204, 172, 65)
HSLhsl(46, 58%, 53%)
HSVhsv(46, 68%, 80%)
CMYKcmyk(0%, 15.7%, 68.1%, 20%)
CIE-LABlab(71.37, 0.00, 57.18)
CIE-LCHlch(71.37, 57.18, 90.00°)
OKLaboklab(75.33% -0.0049 0.1286)
OKLCHoklch(75.33% 0.129 92.2)
XYZxyz(40.6106, 42.7264, 11.1080)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC41 #4161CC
analogous
#CC6641 #CCAC41 #A6CC41
triadic
#CCAC41 #41CCAC #AC41CC
tetradic
#CCAC41 #41CC66 #4161CC #CC41A6
square
#CCAC41 #41CC66 #4161CC #CC41A6
split-complementary
#CCAC41 #41A6CC #6641CC
monochromatic
#74601F #A4882C #CCAC41 #D9C171 #E6D6A1

Accessibility & contrast

On white

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

On black

9.54
#CCAC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC41
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC41#FFFFFF#000000##000000
##CCAC411.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA933
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac41;
/* rgb */ color: rgb(204, 172, 65);
/* oklch */ color: oklch(75.3% 0.129 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfc47b',
    500: '#ccac41',
    950: '#000000',
  },
}
SCSS
$custom: #ccac41;
$custom-light: #dfc47b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac41",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 46.187,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.12874,
    "h": 92.2
  },
  "luminance": 0.42724
}

Semantic roles & 50–950 ramp

primary
#CCAC41
secondary
#96A4D3
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC41

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

Preview Lab → · Contrast checker → · Palette generator →

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