#CCC868#CCC868

#CCC868 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.119 H 106.6°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CCC868
RGBrgb(204, 200, 104)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 49%, 80%)
CMYKcmyk(0%, 2%, 49%, 20%)
CIE-LABlab(79.13, -11.70, 48.08)
CIE-LCHlch(79.13, 49.48, 103.67°)
OKLaboklab(81.6% -0.034 0.114)
OKLCHoklch(81.6% 0.119 106.6)
XYZxyz(48.0560, 55.1467, 21.2069)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC868 #686CCC
analogous
#CC9668 #CCC868 #9ECC68
triadic
#CCC868 #68CCC8 #C868CC
tetradic
#CCC868 #68CC96 #686CCC #CC689E
square
#CCC868 #68CC96 #686CCC #CC689E
split-complementary
#CCC868 #689ECC #9668CC
monochromatic
#8B872F #B8B43E #CCC868 #DBD996 #EBE9C3

Accessibility & contrast

On white

1.75
#CCC868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CCC868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC868
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC868#FFFFFF#000000##000000
##CCC8681.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25F
Deuteranopia (green-blind)
#D8C66D
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc868;
/* rgb */ color: rgb(204, 200, 104);
/* oklch */ color: oklch(81.6% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd895',
    500: '#ccc868',
    950: '#000000',
  },
}
SCSS
$custom: #ccc868;
$custom-light: #ddd895;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc868",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 104
  },
  "hsl": {
    "h": 57.6,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81599,
    "c": 0.11894,
    "h": 106.6
  },
  "luminance": 0.55145
}

Semantic roles & 50–950 ramp

primary
#CCC868
secondary
#474A92
accent
#2FBD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC868

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

Preview Lab → · Contrast checker → · Palette generator →

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