#CCC13C#CCC13C

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

Color values

HEX#CCC13C
RGBrgb(204, 193, 60)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 5.4%, 70.6%, 20%)
CIE-LABlab(76.86, -11.19, 64.71)
CIE-LCHlch(76.86, 65.67, 99.81°)
OKLaboklab(79.67% -0.0373 0.1437)
OKLCHoklch(79.67% 0.148 104.6)
XYZxyz(44.7893, 51.3053, 11.8177)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC13C #3C47CC
analogous
#CC793C #CCC13C #8FCC3C
triadic
#CCC13C #3CCCC1 #C13CCC
tetradic
#CCC13C #3CCC79 #3C47CC #CC3C8F
square
#CCC13C #3CCC79 #3C47CC #CC3C8F
split-complementary
#CCC13C #3C8FCC #793CCC
monochromatic
#706A1D #A1982A #CCC13C #D9D06D #E5E09D

Accessibility & contrast

On white

1.86
#CCC13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC13C#FFFFFF#000000##000000
##CCC13C1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc13c;
/* rgb */ color: rgb(204, 193, 60);
/* oklch */ color: oklch(79.7% 0.148 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd37a',
    500: '#ccc13c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc13c;
$custom-light: #dfd37a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc13c",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 55.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79671,
    "c": 0.14845,
    "h": 104.6
  },
  "luminance": 0.51304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC13C

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

Preview Lab → · Contrast checker → · Palette generator →

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