#CCC15C#CCC15C

#CCC15C is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.123 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CCC15C
RGBrgb(204, 193, 92)
HSLhsl(54, 52%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 54.9%, 20%)
CIE-LABlab(77.13, -9.14, 51.43)
CIE-LCHlch(77.13, 52.24, 100.08°)
OKLaboklab(79.97% -0.028 0.1201)
OKLCHoklch(79.97% 0.123 103.1)
XYZxyz(45.9050, 51.7516, 17.6941)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC15C #5C67CC
analogous
#CC895C #CCC15C #9FCC5C
triadic
#CCC15C #5CCCC1 #C15CCC
tetradic
#CCC15C #5CCC89 #5C67CC #CC5C9F
square
#CCC15C #5CCC89 #5C67CC #CC5C9F
split-complementary
#CCC15C #5C9FCC #895CCC
monochromatic
#847B29 #B3A738 #CCC15C #DBD38B #E9E4B9

Accessibility & contrast

On white

1.85
#CCC15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CCC15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC15C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC15C#FFFFFF#000000##000000
##CCC15C1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB52
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc15c;
/* rgb */ color: rgb(204, 193, 92);
/* oklch */ color: oklch(80.0% 0.123 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded38d',
    500: '#ccc15c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc15c;
$custom-light: #ded38d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc15c",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 54.107,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79971,
    "c": 0.12331,
    "h": 103.1
  },
  "luminance": 0.5175
}

Semantic roles & 50–950 ramp

primary
#CCC15C
secondary
#41488C
accent
#5ADC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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