#CCA93A#CCA93A

#CCA93A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.7% C 0.132 H 91.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CCA93A
RGBrgb(204, 169, 58)
HSLhsl(46, 59%, 51%)
HSVhsv(46, 72%, 80%)
CMYKcmyk(0%, 17.2%, 71.6%, 20%)
CIE-LABlab(70.54, 1.23, 59.22)
CIE-LCHlch(70.54, 59.23, 88.81°)
OKLaboklab(74.66% -0.0022 0.1317)
OKLCHoklch(74.66% 0.132 91)
XYZxyz(39.8557, 41.5212, 9.9173)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA93A #3A5DCC
analogous
#CC603A #CCA93A #A6CC3A
triadic
#CCA93A #3ACCA9 #A93ACC
tetradic
#CCA93A #3ACC60 #3A5DCC #CC3AA6
square
#CCA93A #3ACC60 #3A5DCC #CC3AA6
split-complementary
#CCA93A #3AA6CC #603ACC
monochromatic
#6F5B1D #A08329 #CCA93A #D9BE6B #E5D39B

Accessibility & contrast

On white

2.26
#CCA93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CCA93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA93A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA93A#FFFFFF#000000##000000
##CCA93A1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#DD9B93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cca93a;
/* rgb */ color: rgb(204, 169, 58);
/* oklch */ color: oklch(74.7% 0.132 91.0);
Tailwind
colors: {
  custom: {
    50: '#e0c277',
    500: '#cca93a',
    950: '#000000',
  },
}
SCSS
$custom: #cca93a;
$custom-light: #e0c277;
$custom-dark: #000000;
JSON
{
  "hex": "#cca93a",
  "rgb": {
    "r": 204,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 45.616,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74656,
    "c": 0.13173,
    "h": 91
  },
  "luminance": 0.41519
}

Semantic roles & 50–950 ramp

primary
#CCA93A
secondary
#91A0D1
accent
#6BE246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CCA93A

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

Preview Lab → · Contrast checker → · Palette generator →

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