#CCC058#CCC058

#CCC058 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.126 H 102.8°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCC058
RGBrgb(204, 192, 88)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 57%, 80%)
CMYKcmyk(0%, 5.9%, 56.9%, 20%)
CIE-LABlab(76.83, -8.93, 52.94)
CIE-LCHlch(76.83, 53.68, 99.58°)
OKLaboklab(79.72% -0.0278 0.1229)
OKLCHoklch(79.72% 0.126 102.8)
XYZxyz(45.5145, 51.2429, 16.7240)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC058 #5864CC
analogous
#CC8658 #CCC058 #9ECC58
triadic
#CCC058 #58CCC0 #C058CC
tetradic
#CCC058 #58CC86 #5864CC #CC589E
square
#CCC058 #58CC86 #5864CC #CC589E
split-complementary
#CCC058 #589ECC #8658CC
monochromatic
#827928 #B1A436 #CCC058 #DAD287 #E9E3B6

Accessibility & contrast

On white

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

On black

11.25
#CCC058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC058
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC058#FFFFFF#000000##000000
##CCC0581.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4D
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc058;
/* rgb */ color: rgb(204, 192, 88);
/* oklch */ color: oklch(79.7% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded28b',
    500: '#ccc058',
    950: '#000000',
  },
}
SCSS
$custom: #ccc058;
$custom-light: #ded28b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc058",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 88
  },
  "hsl": {
    "h": 53.793,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79715,
    "c": 0.12599,
    "h": 102.8
  },
  "luminance": 0.51241
}

Semantic roles & 50–950 ramp

primary
#CCC058
secondary
#3F4789
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC058

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

Preview Lab → · Contrast checker → · Palette generator →

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