#CCAB5B#CCAB5B

#CCAB5B is a light, moderate orange. Relative luminance 0.427; OKLCH L 75.4% C 0.107 H 87.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CCAB5B
RGBrgb(204, 171, 91)
HSLhsl(42, 53%, 58%)
HSVhsv(42, 55%, 80%)
CMYKcmyk(0%, 16.2%, 55.4%, 20%)
CIE-LABlab(71.36, 2.30, 45.17)
CIE-LCHlch(71.36, 45.23, 87.08°)
OKLaboklab(75.41% 0.005 0.1064)
OKLCHoklch(75.41% 0.107 87.3)
XYZxyz(41.3549, 42.7207, 15.9632)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB5B #5B7CCC
analogous
#CC725B #CCAB5B #B4CC5B
triadic
#CCAB5B #5BCCAB #AB5BCC
tetradic
#CCAB5B #5BCC72 #5B7CCC #CC5BB4
square
#CCAB5B #5BCC72 #5B7CCC #CC5BB4
split-complementary
#CCAB5B #5BB4CC #725BCC
monochromatic
#846929 #B28E37 #CCAB5B #DBC38A #E9DBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAB5B#FFFFFF#000000##000000
##CCAB5B1.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)
#BBAA54
Deuteranopia (green-blind)
#C3B25E
Tritanopia (blue-blind)
#DB9F98
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ccab5b;
/* rgb */ color: rgb(204, 171, 91);
/* oklch */ color: oklch(75.4% 0.107 87.3);
Tailwind
colors: {
  custom: {
    50: '#dec38b',
    500: '#ccab5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccab5b;
$custom-light: #dec38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab5b",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 91
  },
  "hsl": {
    "h": 42.478,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75406,
    "c": 0.10653,
    "h": 87.3
  },
  "luminance": 0.42719
}

Semantic roles & 50–950 ramp

primary
#CCAB5B
secondary
#ABB8D8
accent
#76DC4C
background
#FDFBF8
surface
#FBF7F0
border
#D4D0CB
text
#15120C
muted
#83817D

Preview Lab

Preview with #CCAB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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