#CCC168#CCC168

#CCC168 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.112 H 102.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CCC168
RGBrgb(204, 193, 104)
HSLhsl(53, 50%, 60%)
HSVhsv(53, 49%, 80%)
CMYKcmyk(0%, 5.4%, 49%, 20%)
CIE-LABlab(77.27, -8.12, 45.85)
CIE-LCHlch(77.27, 46.56, 100.04°)
OKLaboklab(80.12% -0.0237 0.1091)
OKLCHoklch(80.12% 0.112 102.3)
XYZxyz(46.4718, 51.9783, 20.6789)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC168 #6873CC
analogous
#CC8F68 #CCC168 #A5CC68
triadic
#CCC168 #68CCC1 #C168CC
tetradic
#CCC168 #68CC8F #6873CC #CC68A5
square
#CCC168 #68CC8F #6873CC #CC68A5
split-complementary
#CCC168 #68A5CC #8F68CC
monochromatic
#8B812F #B8AB3E #CCC168 #DBD496 #EBE7C3

Accessibility & contrast

On white

1.84
#CCC168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CCC168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC168
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC168#FFFFFF#000000##000000
##CCC1681.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D3C16C
Tritanopia (blue-blind)
#D9B6AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc168;
/* rgb */ color: rgb(204, 193, 104);
/* oklch */ color: oklch(80.1% 0.112 102.3);
Tailwind
colors: {
  custom: {
    50: '#ddd395',
    500: '#ccc168',
    950: '#000000',
  },
}
SCSS
$custom: #ccc168;
$custom-light: #ddd395;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc168",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 104
  },
  "hsl": {
    "h": 53.4,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80123,
    "c": 0.11163,
    "h": 102.3
  },
  "luminance": 0.51977
}

Semantic roles & 50–950 ramp

primary
#CCC168
secondary
#474F92
accent
#39BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC168

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

Preview Lab → · Contrast checker → · Palette generator →

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