#CCC968#CCC968

#CCC968 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.120 H 107.2°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CCC968
RGBrgb(204, 201, 104)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 49%, 80%)
CMYKcmyk(0%, 1.5%, 49%, 20%)
CIE-LABlab(79.39, -12.21, 48.40)
CIE-LCHlch(79.39, 49.91, 104.15°)
OKLaboklab(81.81% -0.0355 0.1147)
OKLCHoklch(81.81% 0.12 107.2)
XYZxyz(48.2883, 55.6114, 21.2844)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC968 #686BCC
analogous
#CC9768 #CCC968 #9DCC68
triadic
#CCC968 #68CCC9 #C968CC
tetradic
#CCC968 #68CC97 #686BCC #CC689D
square
#CCC968 #68CC97 #686BCC #CC689D
split-complementary
#CCC968 #689DCC #9768CC
monochromatic
#8B882F #B8B53E #CCC968 #DBD996 #EBEAC3

Accessibility & contrast

On white

1.73
#CCC968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CCC968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC968
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC968#FFFFFF#000000##000000
##CCC9681.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25F
Deuteranopia (green-blind)
#D9C76D
Tritanopia (blue-blind)
#D8BEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc968;
/* rgb */ color: rgb(204, 201, 104);
/* oklch */ color: oklch(81.8% 0.120 107.2);
Tailwind
colors: {
  custom: {
    50: '#ddd995',
    500: '#ccc968',
    950: '#000000',
  },
}
SCSS
$custom: #ccc968;
$custom-light: #ddd995;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc968",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 58.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8181,
    "c": 0.12003,
    "h": 107.2
  },
  "luminance": 0.5561
}

Semantic roles & 50–950 ramp

primary
#CCC968
secondary
#474992
accent
#2DBD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC968

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

Preview Lab → · Contrast checker → · Palette generator →

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