#CCA03B#CCA03B

#CCA03B is a light, vivid orange. Relative luminance 0.383; OKLCH L 72.8% C 0.127 H 84.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CCA03B
RGBrgb(204, 160, 59)
HSLhsl(42, 59%, 52%)
HSVhsv(42, 71%, 80%)
CMYKcmyk(0%, 21.6%, 71.1%, 20%)
CIE-LABlab(68.24, 6.09, 56.49)
CIE-LCHlch(68.24, 56.82, 83.84°)
OKLaboklab(72.85% 0.0119 0.1261)
OKLCHoklch(72.85% 0.127 84.6)
XYZxyz(38.2644, 38.2974, 9.5136)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA03B #3B67CC
analogous
#CC583B #CCA03B #B0CC3B
triadic
#CCA03B #3BCCA0 #A03BCC
tetradic
#CCA03B #3BCC58 #3B67CC #CC3BB0
square
#CCA03B #3BCC58 #3B67CC #CC3BB0
split-complementary
#CCA03B #3BB0CC #583BCC
monochromatic
#70571D #A07C2A #CCA03B #D9B86C #E5CF9C

Accessibility & contrast

On white

2.43
#CCA03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CCA03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA03B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA03B#FFFFFF#000000##000000
##CCA03B1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A02D
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#DD928B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cca03b;
/* rgb */ color: rgb(204, 160, 59);
/* oklch */ color: oklch(72.8% 0.127 84.6);
Tailwind
colors: {
  custom: {
    50: '#e0bb77',
    500: '#cca03b',
    950: '#000000',
  },
}
SCSS
$custom: #cca03b;
$custom-light: #e0bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#cca03b",
  "rgb": {
    "r": 204,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 41.793,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72847,
    "c": 0.12668,
    "h": 84.6
  },
  "luminance": 0.38295
}

Semantic roles & 50–950 ramp

primary
#CCA03B
secondary
#92A5D1
accent
#75E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CCA03B

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

Preview Lab → · Contrast checker → · Palette generator →

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