#CCC13D#CCC13D

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

Color values

HEX#CCC13D
RGBrgb(204, 193, 61)
HSLhsl(55, 58%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 5.4%, 70.1%, 20%)
CIE-LABlab(76.87, -11.14, 64.34)
CIE-LCHlch(76.87, 65.30, 99.82°)
OKLaboklab(79.68% -0.0371 0.1431)
OKLCHoklch(79.68% 0.148 104.5)
XYZxyz(44.8159, 51.3160, 11.9583)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC13D #3D48CC
analogous
#CC7A3D #CCC13D #8FCC3D
triadic
#CCC13D #3DCCC1 #C13DCC
tetradic
#CCC13D #3DCC7A #3D48CC #CC3D8F
square
#CCC13D #3DCC7A #3D48CC #CC3D8F
split-complementary
#CCC13D #3D8FCC #7A3DCC
monochromatic
#716B1E #A1982A #CCC13D #D9D06D #E5E09E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC13D#FFFFFF#000000##000000
##CCC13D1.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)
#D2BA28
Deuteranopia (green-blind)
#D6C046
Tritanopia (blue-blind)
#DBB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc13d;
/* rgb */ color: rgb(204, 193, 61);
/* oklch */ color: oklch(79.7% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd37b',
    500: '#ccc13d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc13d;
$custom-light: #dfd37b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc13d",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 61
  },
  "hsl": {
    "h": 55.385,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79679,
    "c": 0.14781,
    "h": 104.5
  },
  "luminance": 0.51314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC13D

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

Preview Lab → · Contrast checker → · Palette generator →

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