#CCB162#CCB162

#CCB162 is a light, moderate orange. Relative luminance 0.452; OKLCH L 76.7% C 0.104 H 91.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CCB162
RGBrgb(204, 177, 98)
HSLhsl(45, 51%, 59%)
HSVhsv(45, 52%, 80%)
CMYKcmyk(0%, 13.2%, 52%, 20%)
CIE-LABlab(73.00, -0.29, 43.65)
CIE-LCHlch(73.00, 43.65, 90.38°)
OKLaboklab(76.72% -0.0018 0.1037)
OKLCHoklch(76.72% 0.104 91)
XYZxyz(42.8302, 45.1655, 18.0147)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB162 #627DCC
analogous
#CC7C62 #CCB162 #B2CC62
triadic
#CCB162 #62CCB1 #B162CC
tetradic
#CCB162 #62CC7C #627DCC #CC62B2
square
#CCB162 #62CC7C #627DCC #CC62B2
split-complementary
#CCB162 #62B2CC #7C62CC
monochromatic
#88702C #B6973B #CCB162 #DBC890 #EADFBE

Accessibility & contrast

On white

2.09
#CCB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CCB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB162
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB162#FFFFFF#000000##000000
##CCB1621.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C7B665
Tritanopia (blue-blind)
#DAA69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb162;
/* rgb */ color: rgb(204, 177, 98);
/* oklch */ color: oklch(76.7% 0.104 91.0);
Tailwind
colors: {
  custom: {
    50: '#dec890',
    500: '#ccb162',
    950: '#000000',
  },
}
SCSS
$custom: #ccb162;
$custom-light: #dec890;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb162",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 44.717,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.10376,
    "h": 91
  },
  "luminance": 0.45163
}

Semantic roles & 50–950 ramp

primary
#CCB162
secondary
#B0BBDA
accent
#71DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB162

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

Preview Lab → · Contrast checker → · Palette generator →

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