#CCCA3A#CCCA3A

#CCCA3A is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.158 H 108.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CCCA3A
RGBrgb(204, 202, 58)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 72%, 80%)
CMYKcmyk(0%, 1%, 71.6%, 20%)
CIE-LABlab(79.26, -15.82, 67.75)
CIE-LCHlch(79.26, 69.58, 103.15°)
OKLaboklab(81.58% -0.0505 0.1498)
OKLCHoklch(81.58% 0.158 108.6)
XYZxyz(46.7878, 55.3854, 12.2280)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA3A #3A3CCC
analogous
#CC813A #CCCA3A #85CC3A
triadic
#CCCA3A #3ACCCA #CA3ACC
tetradic
#CCCA3A #3ACC81 #3A3CCC #CC3A85
square
#CCCA3A #3ACC81 #3A3CCC #CC3A85
split-complementary
#CCCA3A #3A85CC #813ACC
monochromatic
#6F6E1D #A09E29 #CCCA3A #D9D76B #E5E49B

Accessibility & contrast

On white

1.74
#CCCA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CCCA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA3A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA3A#FFFFFF#000000##000000
##CCCA3A1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21F
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#DBBDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca3a;
/* rgb */ color: rgb(204, 202, 58);
/* oklch */ color: oklch(81.6% 0.158 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfd97a',
    500: '#ccca3a',
    950: '#000000',
  },
}
SCSS
$custom: #ccca3a;
$custom-light: #dfd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca3a",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 59.178,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.8158,
    "c": 0.15806,
    "h": 108.6
  },
  "luminance": 0.55384
}

Semantic roles & 50–950 ramp

primary
#CCCA3A
secondary
#323378
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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