#CCC358#CCC358

#CCC358 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.129 H 104.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CCC358
RGBrgb(204, 195, 88)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.4%, 56.9%, 20%)
CIE-LABlab(77.62, -10.47, 53.84)
CIE-LCHlch(77.62, 54.85, 101.01°)
OKLaboklab(80.35% -0.0322 0.1248)
OKLCHoklch(80.35% 0.129 104.5)
XYZxyz(46.1799, 52.5737, 16.9458)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC358 #5861CC
analogous
#CC8958 #CCC358 #9BCC58
triadic
#CCC358 #58CCC3 #C358CC
tetradic
#CCC358 #58CC89 #5861CC #CC589B
square
#CCC358 #58CC89 #5861CC #CC589B
split-complementary
#CCC358 #589BCC #8958CC
monochromatic
#827B28 #B1A736 #CCC358 #DAD487 #E9E5B6

Accessibility & contrast

On white

1.82
#CCC358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CCC358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC358
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC358#FFFFFF#000000##000000
##CCC3581.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4D
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#DAB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc358;
/* rgb */ color: rgb(204, 195, 88);
/* oklch */ color: oklch(80.3% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded48b',
    500: '#ccc358',
    950: '#000000',
  },
}
SCSS
$custom: #ccc358;
$custom-light: #ded48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc358",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 55.345,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80348,
    "c": 0.12891,
    "h": 104.5
  },
  "luminance": 0.52572
}

Semantic roles & 50–950 ramp

primary
#CCC358
secondary
#3F4589
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC358

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

Preview Lab → · Contrast checker → · Palette generator →

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