#CCAB4B#CCAB4B

#CCAB4B is a light, vivid orange. Relative luminance 0.425; OKLCH L 75.2% C 0.120 H 90.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CCAB4B
RGBrgb(204, 171, 75)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 16.2%, 63.2%, 20%)
CIE-LABlab(71.20, 1.14, 52.60)
CIE-LCHlch(71.20, 52.61, 88.76°)
OKLaboklab(75.22% -0.0004 0.1205)
OKLCHoklch(75.22% 0.12 90.2)
XYZxyz(40.7367, 42.4735, 12.7078)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB4B #4B6CCC
analogous
#CC6B4B #CCAB4B #ADCC4B
triadic
#CCAB4B #4BCCAB #AB4BCC
tetradic
#CCAB4B #4BCC6B #4B6CCC #CC4BAD
square
#CCAB4B #4BCC6B #4B6CCC #CC4BAD
split-complementary
#CCAB4B #4BADCC #6B4BCC
monochromatic
#7A6423 #AA8B30 #CCAB4B #DAC17B #E7D8AA

Accessibility & contrast

On white

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

On black

9.49
#CCAB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB4B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB4B#FFFFFF#000000##000000
##CCAB4B1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA941
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#DC9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab4b;
/* rgb */ color: rgb(204, 171, 75);
/* oklch */ color: oklch(75.2% 0.120 90.2);
Tailwind
colors: {
  custom: {
    50: '#dfc381',
    500: '#ccab4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccab4b;
$custom-light: #dfc381;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab4b",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 44.651,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75218,
    "c": 0.12048,
    "h": 90.2
  },
  "luminance": 0.42471
}

Semantic roles & 50–950 ramp

primary
#CCAB4B
secondary
#9EACD5
accent
#6FDF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CCAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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