#CCC154#CCC154

#CCC154 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.130 H 103.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CCC154
RGBrgb(204, 193, 84)
HSLhsl(55, 54%, 56%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 5.4%, 58.8%, 20%)
CIE-LABlab(77.05, -9.74, 55.01)
CIE-LCHlch(77.05, 55.86, 100.04°)
OKLaboklab(79.88% -0.0306 0.1268)
OKLCHoklch(79.88% 0.13 103.6)
XYZxyz(45.5736, 51.6190, 15.9486)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC154 #545FCC
analogous
#CC8554 #CCC154 #9BCC54
triadic
#CCC154 #54CCC1 #C154CC
tetradic
#CCC154 #54CC85 #545FCC #CC549B
square
#CCC154 #54CC85 #545FCC #CC549B
split-complementary
#CCC154 #549BCC #8554CC
monochromatic
#807726 #AFA334 #CCC154 #DAD283 #E8E3B2

Accessibility & contrast

On white

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

On black

11.32
#CCC154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC154
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC154#FFFFFF#000000##000000
##CCC1541.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB48
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#DAB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc154;
/* rgb */ color: rgb(204, 193, 84);
/* oklch */ color: oklch(79.9% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded388',
    500: '#ccc154',
    950: '#000000',
  },
}
SCSS
$custom: #ccc154;
$custom-light: #ded388;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc154",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 54.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.13047,
    "h": 103.6
  },
  "luminance": 0.51617
}

Semantic roles & 50–950 ramp

primary
#CCC154
secondary
#3D4487
accent
#58DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC154

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

Preview Lab → · Contrast checker → · Palette generator →

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