#CCAB51#CCAB51

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

Color values

HEX#CCAB51
RGBrgb(204, 171, 81)
HSLhsl(44, 55%, 56%)
HSVhsv(44, 60%, 80%)
CMYKcmyk(0%, 16.2%, 60.3%, 20%)
CIE-LABlab(71.25, 1.54, 49.88)
CIE-LCHlch(71.25, 49.90, 88.23°)
OKLaboklab(75.28% 0.0015 0.1155)
OKLCHoklch(75.28% 0.115 89.2)
XYZxyz(40.9519, 42.5595, 13.8408)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB51 #5172CC
analogous
#CC6D51 #CCAB51 #B0CC51
triadic
#CCAB51 #51CCAB #AB51CC
tetradic
#CCAB51 #51CC6D #5172CC #CC51B0
square
#CCAB51 #51CC6D #5172CC #CC51B0
split-complementary
#CCAB51 #51B0CC #6D51CC
monochromatic
#7E6625 #AD8C33 #CCAB51 #DAC280 #E8D9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCAB51#FFFFFF#000000##000000
##CCAB511.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)
#BCA948
Deuteranopia (green-blind)
#C4B255
Tritanopia (blue-blind)
#DC9E97
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab51;
/* rgb */ color: rgb(204, 171, 81);
/* oklch */ color: oklch(75.3% 0.115 89.2);
Tailwind
colors: {
  custom: {
    50: '#dfc385',
    500: '#ccab51',
    950: '#000000',
  },
}
SCSS
$custom: #ccab51;
$custom-light: #dfc385;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab51",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 43.902,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.11548,
    "h": 89.2
  },
  "luminance": 0.42557
}

Semantic roles & 50–950 ramp

primary
#CCAB51
secondary
#A3B1D6
accent
#72DE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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