#CCAB4F#CCAB4F

#CCAB4F is a light, moderate orange. Relative luminance 0.425; OKLCH L 75.3% C 0.117 H 89.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CCAB4F
RGBrgb(204, 171, 79)
HSLhsl(44, 55%, 55%)
HSVhsv(44, 61%, 80%)
CMYKcmyk(0%, 16.2%, 61.3%, 20%)
CIE-LABlab(71.23, 1.40, 50.80)
CIE-LCHlch(71.23, 50.81, 88.42°)
OKLaboklab(75.26% 0.0009 0.1172)
OKLCHoklch(75.26% 0.117 89.6)
XYZxyz(40.8780, 42.5300, 13.4516)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB4F #4F70CC
analogous
#CC6C4F #CCAB4F #AECC4F
triadic
#CCAB4F #4FCCAB #AB4FCC
tetradic
#CCAB4F #4FCC6C #4F70CC #CC4FAE
square
#CCAB4F #4FCC6C #4F70CC #CC4FAE
split-complementary
#CCAB4F #4FAECC #6C4FCC
monochromatic
#7D6524 #AC8C32 #CCAB4F #DAC27E #E7D8AE

Accessibility & contrast

On white

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

On black

9.51
#CCAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB4F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB4F#FFFFFF#000000##000000
##CCAB4F1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA945
Deuteranopia (green-blind)
#C4B253
Tritanopia (blue-blind)
#DC9E97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab4f;
/* rgb */ color: rgb(204, 171, 79);
/* oklch */ color: oklch(75.3% 0.117 89.6);
Tailwind
colors: {
  custom: {
    50: '#dfc384',
    500: '#ccab4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccab4f;
$custom-light: #dfc384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab4f",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 44.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.75261,
    "c": 0.11718,
    "h": 89.6
  },
  "luminance": 0.42528
}

Semantic roles & 50–950 ramp

primary
#CCAB4F
secondary
#A1AFD5
accent
#71DE49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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