#CCC768#CCC768

#CCC768 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.118 H 106.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CCC768
RGBrgb(204, 199, 104)
HSLhsl(57, 50%, 60%)
HSVhsv(57, 49%, 80%)
CMYKcmyk(0%, 2.5%, 49%, 20%)
CIE-LABlab(78.86, -11.19, 47.76)
CIE-LCHlch(78.86, 49.05, 103.19°)
OKLaboklab(81.39% -0.0326 0.1133)
OKLCHoklch(81.39% 0.118 106)
XYZxyz(47.8251, 54.6850, 21.1300)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC768 #686DCC
analogous
#CC9568 #CCC768 #9FCC68
triadic
#CCC768 #68CCC7 #C768CC
tetradic
#CCC768 #68CC95 #686DCC #CC689F
square
#CCC768 #68CC95 #686DCC #CC689F
split-complementary
#CCC768 #689FCC #9568CC
monochromatic
#8B862F #B8B23E #CCC768 #DBD896 #EBE9C3

Accessibility & contrast

On white

1.76
#CCC768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CCC768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC768
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC768#FFFFFF#000000##000000
##CCC7681.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C160
Deuteranopia (green-blind)
#D7C56D
Tritanopia (blue-blind)
#D8BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc768;
/* rgb */ color: rgb(204, 199, 104);
/* oklch */ color: oklch(81.4% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#ccc768',
    950: '#000000',
  },
}
SCSS
$custom: #ccc768;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc768",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 57,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81387,
    "c": 0.11786,
    "h": 106
  },
  "luminance": 0.54684
}

Semantic roles & 50–950 ramp

primary
#CCC768
secondary
#474A92
accent
#30BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC768

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

Preview Lab → · Contrast checker → · Palette generator →

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