#CCAB4C#CCAB4C

#CCAB4C is a light, moderate orange. Relative luminance 0.425; OKLCH L 75.2% C 0.120 H 90.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CCAB4C
RGBrgb(204, 171, 76)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 16.2%, 62.7%, 20%)
CIE-LABlab(71.21, 1.20, 52.15)
CIE-LCHlch(71.21, 52.17, 88.68°)
OKLaboklab(75.23% -0.0001 0.1197)
OKLCHoklch(75.23% 0.12 90)
XYZxyz(40.7712, 42.4873, 12.8894)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB4C #4C6DCC
analogous
#CC6B4C #CCAB4C #ADCC4C
triadic
#CCAB4C #4CCCAB #AB4CCC
tetradic
#CCAB4C #4CCC6B #4C6DCC #CC4CAD
square
#CCAB4C #4CCC6B #4C6DCC #CC4CAD
split-complementary
#CCAB4C #4CADCC #6B4CCC
monochromatic
#7B6423 #AA8B31 #CCAB4C #DAC17C #E7D8AB

Accessibility & contrast

On white

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

On black

9.50
#CCAB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB4C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB4C#FFFFFF#000000##000000
##CCAB4C1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccab4c;
/* rgb */ color: rgb(204, 171, 76);
/* oklch */ color: oklch(75.2% 0.120 90.0);
Tailwind
colors: {
  custom: {
    50: '#dfc382',
    500: '#ccab4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccab4c;
$custom-light: #dfc382;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab4c",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 44.531,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75229,
    "c": 0.11967,
    "h": 90
  },
  "luminance": 0.42485
}

Semantic roles & 50–950 ramp

primary
#CCAB4C
secondary
#9FADD5
accent
#70DF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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