#CCA23D#CCA23D

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

Color values

HEX#CCA23D
RGBrgb(204, 162, 61)
HSLhsl(42, 58%, 52%)
HSVhsv(42, 70%, 80%)
CMYKcmyk(0%, 20.6%, 70.1%, 20%)
CIE-LABlab(68.76, 5.12, 56.19)
CIE-LCHlch(68.76, 56.42, 84.79°)
OKLaboklab(73.26% 0.0094 0.1258)
OKLCHoklch(73.26% 0.126 85.7)
XYZxyz(38.6667, 39.0175, 9.9085)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA23D #3D67CC
analogous
#CC5B3D #CCA23D #AECC3D
triadic
#CCA23D #3DCCA2 #A23DCC
tetradic
#CCA23D #3DCC5B #3D67CC #CC3DAE
square
#CCA23D #3DCC5B #3D67CC #CC3DAE
split-complementary
#CCA23D #3DAECC #5B3DCC
monochromatic
#71581E #A17E2A #CCA23D #D9B96D #E5D09E

Accessibility & contrast

On white

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

On black

8.80
#CCA23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA23D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA23D#FFFFFF#000000##000000
##CCA23D1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cca23d;
/* rgb */ color: rgb(204, 162, 61);
/* oklch */ color: oklch(73.3% 0.126 85.7);
Tailwind
colors: {
  custom: {
    50: '#e0bd78',
    500: '#cca23d',
    950: '#000000',
  },
}
SCSS
$custom: #cca23d;
$custom-light: #e0bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cca23d",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 42.378,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73264,
    "c": 0.12618,
    "h": 85.7
  },
  "luminance": 0.39015
}

Semantic roles & 50–950 ramp

primary
#CCA23D
secondary
#93A5D2
accent
#74E246
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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