#CCAC51#CCAC51

#CCAC51 is a light, moderate orange. Relative luminance 0.429; OKLCH L 75.5% C 0.116 H 90.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CCAC51
RGBrgb(204, 172, 81)
HSLhsl(44, 55%, 56%)
HSVhsv(44, 60%, 80%)
CMYKcmyk(0%, 15.7%, 60.3%, 20%)
CIE-LABlab(71.51, 1.01, 50.17)
CIE-LCHlch(71.51, 50.18, 88.84°)
OKLaboklab(75.49% 0 0.1161)
OKLCHoklch(75.49% 0.116 90)
XYZxyz(41.1415, 42.9387, 13.9040)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAC51 #5171CC
analogous
#CC6E51 #CCAC51 #AFCC51
triadic
#CCAC51 #51CCAC #AC51CC
tetradic
#CCAC51 #51CC6E #5171CC #CC51AF
square
#CCAC51 #51CC6E #5171CC #CC51AF
split-complementary
#CCAC51 #51AFCC #6E51CC
monochromatic
#7E6725 #AD8D33 #CCAC51 #DAC380 #E8D9B0

Accessibility & contrast

On white

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

On black

9.59
#CCAC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAC51
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAC51#FFFFFF#000000##000000
##CCAC511.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#DB9F98
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccac51;
/* rgb */ color: rgb(204, 172, 81);
/* oklch */ color: oklch(75.5% 0.116 90.0);
Tailwind
colors: {
  custom: {
    50: '#dfc485',
    500: '#ccac51',
    950: '#000000',
  },
}
SCSS
$custom: #ccac51;
$custom-light: #dfc485;
$custom-dark: #000000;
JSON
{
  "hex": "#ccac51",
  "rgb": {
    "r": 204,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 44.39,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.75487,
    "c": 0.1161,
    "h": 90
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#CCAC51
secondary
#A3B0D6
accent
#70DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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