#CCC13B#CCC13B

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

Color values

HEX#CCC13B
RGBrgb(204, 193, 59)
HSLhsl(55, 59%, 52%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 5.4%, 71.1%, 20%)
CIE-LABlab(76.86, -11.23, 65.07)
CIE-LCHlch(76.86, 66.03, 99.80°)
OKLaboklab(79.66% -0.0375 0.1443)
OKLCHoklch(79.66% 0.149 104.6)
XYZxyz(44.7631, 51.2948, 11.6798)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC13B #3B46CC
analogous
#CC793B #CCC13B #8FCC3B
triadic
#CCC13B #3BCCC1 #C13BCC
tetradic
#CCC13B #3BCC79 #3B46CC #CC3B8F
square
#CCC13B #3BCC79 #3B46CC #CC3B8F
split-complementary
#CCC13B #3B8FCC #793BCC
monochromatic
#70691D #A0972A #CCC13B #D9D06C #E5E09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC13B#FFFFFF#000000##000000
##CCC13B1.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)
#D2BA24
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#DBB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc13b;
/* rgb */ color: rgb(204, 193, 59);
/* oklch */ color: oklch(79.7% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd37a',
    500: '#ccc13b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc13b;
$custom-light: #dfd37a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc13b",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 55.448,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79664,
    "c": 0.14908,
    "h": 104.6
  },
  "luminance": 0.51293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC13B

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

Preview Lab → · Contrast checker → · Palette generator →

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