#CCAC44#CCAC44

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

Color values

HEX#CCAC44
RGBrgb(204, 172, 68)
HSLhsl(46, 57%, 53%)
HSVhsv(46, 67%, 80%)
CMYKcmyk(0%, 15.7%, 66.7%, 20%)
CIE-LABlab(71.39, 0.17, 55.93)
CIE-LCHlch(71.39, 55.93, 89.82°)
OKLaboklab(75.35% -0.004 0.1265)
OKLCHoklch(75.35% 0.127 91.8)
XYZxyz(40.6998, 42.7621, 11.5779)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC44 #4464CC
analogous
#CC6844 #CCAC44 #A8CC44
triadic
#CCAC44 #44CCAC #AC44CC
tetradic
#CCAC44 #44CC68 #4464CC #CC44A8
square
#CCAC44 #44CC68 #4464CC #CC44A8
split-complementary
#CCAC44 #44A8CC #6844CC
monochromatic
#766120 #A6892D #CCAC44 #D9C174 #E6D7A4

Accessibility & contrast

On white

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

On black

9.55
#CCAC44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC44
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC44#FFFFFF#000000##000000
##CCAC441.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccac44;
/* rgb */ color: rgb(204, 172, 68);
/* oklch */ color: oklch(75.4% 0.127 91.8);
Tailwind
colors: {
  custom: {
    50: '#dfc47d',
    500: '#ccac44',
    950: '#000000',
  },
}
SCSS
$custom: #ccac44;
$custom-light: #dfc47d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac44",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 68
  },
  "hsl": {
    "h": 45.882,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75354,
    "c": 0.12654,
    "h": 91.8
  },
  "luminance": 0.4276
}

Semantic roles & 50–950 ramp

primary
#CCAC44
secondary
#99A6D3
accent
#6BE047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAC44

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

Preview Lab → · Contrast checker → · Palette generator →

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