#CCA23F#CCA23F

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

Color values

HEX#CCA23F
RGBrgb(204, 162, 63)
HSLhsl(42, 58%, 52%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 20.6%, 69.1%, 20%)
CIE-LABlab(68.78, 5.23, 55.35)
CIE-LCHlch(68.78, 55.59, 84.60°)
OKLaboklab(73.28% 0.0099 0.1244)
OKLCHoklch(73.28% 0.125 85.4)
XYZxyz(38.7216, 39.0395, 10.1976)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA23F #3F69CC
analogous
#CC5C3F #CCA23F #AFCC3F
triadic
#CCA23F #3FCCA2 #A23FCC
tetradic
#CCA23F #3FCC5C #3F69CC #CC3FAF
square
#CCA23F #3FCC5C #3F69CC #CC3FAF
split-complementary
#CCA23F #3FAFCC #5C3FCC
monochromatic
#72591E #A37F2B #CCA23F #D9B96F #E6D1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCA23F#FFFFFF#000000##000000
##CCA23F1.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)
#B5A133
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#DD948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca23f;
/* rgb */ color: rgb(204, 162, 63);
/* oklch */ color: oklch(73.3% 0.125 85.4);
Tailwind
colors: {
  custom: {
    50: '#e0bd79',
    500: '#cca23f',
    950: '#000000',
  },
}
SCSS
$custom: #cca23f;
$custom-light: #e0bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cca23f",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 42.128,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73282,
    "c": 0.12481,
    "h": 85.4
  },
  "luminance": 0.39037
}

Semantic roles & 50–950 ramp

primary
#CCA23F
secondary
#95A7D2
accent
#75E147
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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