#CCA23E#CCA23E

#CCA23E is a light, vivid orange. Relative luminance 0.390; OKLCH L 73.3% C 0.126 H 85.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CCA23E
RGBrgb(204, 162, 62)
HSLhsl(42, 58%, 52%)
HSVhsv(42, 70%, 80%)
CMYKcmyk(0%, 20.6%, 69.6%, 20%)
CIE-LABlab(68.77, 5.18, 55.77)
CIE-LCHlch(68.77, 56.01, 84.70°)
OKLaboklab(73.27% 0.0097 0.1251)
OKLCHoklch(73.27% 0.126 85.6)
XYZxyz(38.6939, 39.0284, 10.0517)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA23E #3E68CC
analogous
#CC5B3E #CCA23E #AFCC3E
triadic
#CCA23E #3ECCA2 #A23ECC
tetradic
#CCA23E #3ECC5B #3E68CC #CC3EAF
square
#CCA23E #3ECC5B #3E68CC #CC3EAF
split-complementary
#CCA23E #3EAFCC #5B3ECC
monochromatic
#72591E #A27F2B #CCA23E #D9B96E #E6D19F

Accessibility & contrast

On white

2.38
#CCA23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CCA23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA23E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA23E#FFFFFF#000000##000000
##CCA23E1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A131
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#DD948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca23e;
/* rgb */ color: rgb(204, 162, 62);
/* oklch */ color: oklch(73.3% 0.126 85.6);
Tailwind
colors: {
  custom: {
    50: '#e0bd79',
    500: '#cca23e',
    950: '#000000',
  },
}
SCSS
$custom: #cca23e;
$custom-light: #e0bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cca23e",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 42.254,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73273,
    "c": 0.1255,
    "h": 85.6
  },
  "luminance": 0.39026
}

Semantic roles & 50–950 ramp

primary
#CCA23E
secondary
#94A6D2
accent
#74E146
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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