#CCAB4A#CCAB4A

#CCAB4A is a light, vivid orange. Relative luminance 0.425; OKLCH L 75.2% C 0.121 H 90.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CCAB4A
RGBrgb(204, 171, 74)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 64%, 80%)
CMYKcmyk(0%, 16.2%, 63.7%, 20%)
CIE-LABlab(71.19, 1.07, 53.04)
CIE-LCHlch(71.19, 53.05, 88.84°)
OKLaboklab(75.21% -0.0007 0.1213)
OKLCHoklch(75.21% 0.121 90.3)
XYZxyz(40.7028, 42.4599, 12.5289)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB4A #4A6BCC
analogous
#CC6A4A #CCAB4A #ACCC4A
triadic
#CCAB4A #4ACCAB #AB4ACC
tetradic
#CCAB4A #4ACC6A #4A6BCC #CC4AAC
square
#CCAB4A #4ACC6A #4A6BCC #CC4AAC
split-complementary
#CCAB4A #4AACCC #6A4ACC
monochromatic
#796322 #A98A30 #CCAB4A #D9C17A #E7D7A9

Accessibility & contrast

On white

2.21
#CCAB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#CCAB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB4A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB4A#FFFFFF#000000##000000
##CCAB4A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93F
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#DC9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab4a;
/* rgb */ color: rgb(204, 171, 74);
/* oklch */ color: oklch(75.2% 0.121 90.3);
Tailwind
colors: {
  custom: {
    50: '#dfc380',
    500: '#ccab4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccab4a;
$custom-light: #dfc380;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab4a",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 44.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.12128,
    "h": 90.3
  },
  "luminance": 0.42458
}

Semantic roles & 50–950 ramp

primary
#CCAB4A
secondary
#9DABD4
accent
#6FDF48
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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