#CCA151#CCA151

#CCA151 is a light, moderate orange. Relative luminance 0.389; OKLCH L 73.3% C 0.111 H 81.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CCA151
RGBrgb(204, 161, 81)
HSLhsl(39, 55%, 56%)
HSVhsv(39, 60%, 80%)
CMYKcmyk(0%, 21.1%, 60.3%, 20%)
CIE-LABlab(68.70, 6.90, 46.96)
CIE-LCHlch(68.70, 47.46, 81.64°)
OKLaboklab(73.27% 0.0171 0.1092)
OKLCHoklch(73.27% 0.111 81.1)
XYZxyz(39.1340, 38.9237, 13.2348)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA151 #517CCC
analogous
#CC6351 #CCA151 #BACC51
triadic
#CCA151 #51CCA1 #A151CC
tetradic
#CCA151 #51CC63 #517CCC #CC51BA
square
#CCA151 #51CC63 #517CCC #CC51BA
split-complementary
#CCA151 #51BACC #6351CC
monochromatic
#7E5F25 #AD8233 #CCA151 #DABB80 #E8D4B0

Accessibility & contrast

On white

2.39
#CCA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CCA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA151
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA151#FFFFFF#000000##000000
##CCA1511.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#BDAC54
Tritanopia (blue-blind)
#DC948F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca151;
/* rgb */ color: rgb(204, 161, 81);
/* oklch */ color: oklch(73.3% 0.111 81.1);
Tailwind
colors: {
  custom: {
    50: '#dfbc84',
    500: '#cca151',
    950: '#000000',
  },
}
SCSS
$custom: #cca151;
$custom-light: #dfbc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cca151",
  "rgb": {
    "r": 204,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 39.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.11051,
    "h": 81.1
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#CCA151
secondary
#A3B5D6
accent
#7EDE4A
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCA151

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

Preview Lab → · Contrast checker → · Palette generator →

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