#CCA23B#CCA23B

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

Color values

HEX#CCA23B
RGBrgb(204, 162, 59)
HSLhsl(43, 59%, 52%)
HSVhsv(43, 71%, 80%)
CMYKcmyk(0%, 20.6%, 71.1%, 20%)
CIE-LABlab(68.75, 5.02, 57.01)
CIE-LCHlch(68.75, 57.23, 84.97°)
OKLaboklab(73.25% 0.0088 0.1272)
OKLCHoklch(73.25% 0.128 86)
XYZxyz(38.6139, 38.9964, 9.6301)
Luminance0.3899 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA23B #3B65CC
analogous
#CC5A3B #CCA23B #ADCC3B
triadic
#CCA23B #3BCCA2 #A23BCC
tetradic
#CCA23B #3BCC5A #3B65CC #CC3BAD
square
#CCA23B #3BCC5A #3B65CC #CC3BAD
split-complementary
#CCA23B #3BADCC #5A3BCC
monochromatic
#70581D #A07E2A #CCA23B #D9B96C #E5D09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCA23B#FFFFFF#000000##000000
##CCA23B1.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)
#B5A12D
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#DD948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cca23b;
/* rgb */ color: rgb(204, 162, 59);
/* oklch */ color: oklch(73.2% 0.128 86.0);
Tailwind
colors: {
  custom: {
    50: '#e0bd77',
    500: '#cca23b',
    950: '#000000',
  },
}
SCSS
$custom: #cca23b;
$custom-light: #e0bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cca23b",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 42.621,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.12753,
    "h": 86
  },
  "luminance": 0.38994
}

Semantic roles & 50–950 ramp

primary
#CCA23B
secondary
#92A4D1
accent
#73E246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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