#CCC15F#CCC15F

#CCC15F is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.120 H 102.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CCC15F
RGBrgb(204, 193, 95)
HSLhsl(54, 52%, 59%)
HSVhsv(54, 53%, 80%)
CMYKcmyk(0%, 5.4%, 53.4%, 20%)
CIE-LABlab(77.16, -8.90, 50.06)
CIE-LCHlch(77.16, 50.84, 100.08°)
OKLaboklab(80.01% -0.0269 0.1174)
OKLCHoklch(80.01% 0.12 102.9)
XYZxyz(46.0388, 51.8051, 18.3985)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC15F #5F6ACC
analogous
#CC8A5F #CCC15F #A0CC5F
triadic
#CCC15F #5FCCC1 #C15FCC
tetradic
#CCC15F #5FCC8A #5F6ACC #CC5FA0
square
#CCC15F #5FCC8A #5F6ACC #CC5FA0
split-complementary
#CCC15F #5FA0CC #8A5FCC
monochromatic
#867D2B #B4A839 #CCC15F #DBD38D #EAE5BC

Accessibility & contrast

On white

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

On black

11.36
#CCC15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC15F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC15F#FFFFFF#000000##000000
##CCC15F1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB56
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#D9B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc15f;
/* rgb */ color: rgb(204, 193, 95);
/* oklch */ color: oklch(80.0% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded38f',
    500: '#ccc15f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc15f;
$custom-light: #ded38f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc15f",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 53.945,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80007,
    "c": 0.12049,
    "h": 102.9
  },
  "luminance": 0.51804
}

Semantic roles & 50–950 ramp

primary
#CCC15F
secondary
#424A8D
accent
#5BDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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