#CCC658#CCC658

#CCC658 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.132 H 106.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CCC658
RGBrgb(204, 198, 88)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.9%, 56.9%, 20%)
CIE-LABlab(78.42, -12.00, 54.74)
CIE-LCHlch(78.42, 56.04, 102.36°)
OKLaboklab(80.98% -0.0366 0.1268)
OKLCHoklch(80.98% 0.132 106.1)
XYZxyz(46.8588, 53.9316, 17.1721)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC658 #585ECC
analogous
#CC8C58 #CCC658 #98CC58
triadic
#CCC658 #58CCC6 #C658CC
tetradic
#CCC658 #58CC8C #585ECC #CC5898
square
#CCC658 #58CC8C #585ECC #CC5898
split-complementary
#CCC658 #5898CC #8C58CC
monochromatic
#827D28 #B1AA36 #CCC658 #DAD687 #E9E6B6

Accessibility & contrast

On white

1.78
#CCC658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CCC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC658
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC658#FFFFFF#000000##000000
##CCC6581.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#D9BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc658;
/* rgb */ color: rgb(204, 198, 88);
/* oklch */ color: oklch(81.0% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded78b',
    500: '#ccc658',
    950: '#000000',
  },
}
SCSS
$custom: #ccc658;
$custom-light: #ded78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc658",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 56.897,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80983,
    "c": 0.13192,
    "h": 106.1
  },
  "luminance": 0.5393
}

Semantic roles & 50–950 ramp

primary
#CCC658
secondary
#3F4389
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC658

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

Preview Lab → · Contrast checker → · Palette generator →

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