#CCC13A#CCC13A

#CCC13A is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.150 H 104.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC13A
RGBrgb(204, 193, 58)
HSLhsl(55, 59%, 51%)
HSVhsv(55, 72%, 80%)
CMYKcmyk(0%, 5.4%, 71.6%, 20%)
CIE-LABlab(76.85, -11.28, 65.43)
CIE-LCHlch(76.85, 66.39, 99.78°)
OKLaboklab(79.66% -0.0378 0.1449)
OKLCHoklch(79.66% 0.15 104.6)
XYZxyz(44.7374, 51.2845, 11.5445)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC13A #3A45CC
analogous
#CC783A #CCC13A #8ECC3A
triadic
#CCC13A #3ACCC1 #C13ACC
tetradic
#CCC13A #3ACC78 #3A45CC #CC3A8E
square
#CCC13A #3ACC78 #3A45CC #CC3A8E
split-complementary
#CCC13A #3A8ECC #783ACC
monochromatic
#6F691D #A09729 #CCC13A #D9D06B #E5E09B

Accessibility & contrast

On white

1.87
#CCC13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CCC13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC13A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC13A#FFFFFF#000000##000000
##CCC13A1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA23
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#DBB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc13a;
/* rgb */ color: rgb(204, 193, 58);
/* oklch */ color: oklch(79.7% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd379',
    500: '#ccc13a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc13a;
$custom-light: #dfd379;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc13a",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 55.479,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79657,
    "c": 0.14969,
    "h": 104.6
  },
  "luminance": 0.51283
}

Semantic roles & 50–950 ramp

primary
#CCC13A
secondary
#323778
accent
#52E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC13A

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

Preview Lab → · Contrast checker → · Palette generator →

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