#CCC758#CCC758

#CCC758 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.133 H 106.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CCC758
RGBrgb(204, 199, 88)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.5%, 56.9%, 20%)
CIE-LABlab(78.69, -12.51, 55.04)
CIE-LCHlch(78.69, 56.44, 102.80°)
OKLaboklab(81.2% -0.038 0.1274)
OKLCHoklch(81.2% 0.133 106.6)
XYZxyz(47.0881, 54.3902, 17.2486)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC758 #585DCC
analogous
#CC8D58 #CCC758 #97CC58
triadic
#CCC758 #58CCC7 #C758CC
tetradic
#CCC758 #58CC8D #585DCC #CC5897
square
#CCC758 #58CC8D #585DCC #CC5897
split-complementary
#CCC758 #5897CC #8D58CC
monochromatic
#827E28 #B1AC36 #CCC758 #DAD787 #E9E6B6

Accessibility & contrast

On white

1.77
#CCC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CCC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC758
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC758#FFFFFF#000000##000000
##CCC7581.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc758;
/* rgb */ color: rgb(204, 199, 88);
/* oklch */ color: oklch(81.2% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded78b',
    500: '#ccc758',
    950: '#000000',
  },
}
SCSS
$custom: #ccc758;
$custom-light: #ded78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc758",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 57.414,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81196,
    "c": 0.13295,
    "h": 106.6
  },
  "luminance": 0.54389
}

Semantic roles & 50–950 ramp

primary
#CCC758
secondary
#3F4289
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC758

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

Preview Lab → · Contrast checker → · Palette generator →

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