#CCA22D#CCA22D

#CCA22D is a light, vivid orange. Relative luminance 0.389; OKLCH L 73.1% C 0.136 H 87.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CCA22D
RGBrgb(204, 162, 45)
HSLhsl(44, 64%, 49%)
HSVhsv(44, 78%, 80%)
CMYKcmyk(0%, 20.6%, 77.9%, 20%)
CIE-LABlab(68.66, 4.40, 62.31)
CIE-LCHlch(68.66, 62.46, 85.96°)
OKLaboklab(73.15% 0.0055 0.1357)
OKLCHoklch(73.15% 0.136 87.7)
XYZxyz(38.2982, 38.8701, 7.9676)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA22D #2D57CC
analogous
#CC532D #CCA22D #A7CC2D
triadic
#CCA22D #2DCCA2 #A22DCC
tetradic
#CCA22D #2DCC53 #2D57CC #CC2DA7
square
#CCA22D #2DCC53 #2D57CC #CC2DA7
split-complementary
#CCA22D #2DA7CC #532DCC
monochromatic
#685217 #9A7A22 #CCA22D #DBB95B #E6CF8D

Accessibility & contrast

On white

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

On black

8.77
#CCA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA22D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA22D#FFFFFF#000000##000000
##CCA22D1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A116
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#DD938C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cca22d;
/* rgb */ color: rgb(204, 162, 45);
/* oklch */ color: oklch(73.1% 0.136 87.7);
Tailwind
colors: {
  custom: {
    50: '#e0bd6f',
    500: '#cca22d',
    950: '#000000',
  },
}
SCSS
$custom: #cca22d;
$custom-light: #e0bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cca22d",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 44.151,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.13579,
    "h": 87.7
  },
  "luminance": 0.38867
}

Semantic roles & 50–950 ramp

primary
#CCA22D
secondary
#8599D0
accent
#6DE741
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CCA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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