#CCC468#CCC468

#CCC468 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.115 H 104.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCC468
RGBrgb(204, 196, 104)
HSLhsl(55, 50%, 60%)
HSVhsv(55, 49%, 80%)
CMYKcmyk(0%, 3.9%, 49%, 20%)
CIE-LABlab(78.06, -9.66, 46.80)
CIE-LCHlch(78.06, 47.79, 101.66°)
OKLaboklab(80.75% -0.0282 0.1112)
OKLCHoklch(80.75% 0.115 104.2)
XYZxyz(47.1417, 53.3181, 20.9022)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC468 #6870CC
analogous
#CC9268 #CCC468 #A2CC68
triadic
#CCC468 #68CCC4 #C468CC
tetradic
#CCC468 #68CC92 #6870CC #CC68A2
square
#CCC468 #68CC92 #6870CC #CC68A2
split-complementary
#CCC468 #68A2CC #9268CC
monochromatic
#8B832F #B8AF3E #CCC468 #DBD696 #EBE8C3

Accessibility & contrast

On white

1.80
#CCC468 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CCC468 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC468
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC468#FFFFFF#000000##000000
##CCC4681.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE60
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#D9B9AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc468;
/* rgb */ color: rgb(204, 196, 104);
/* oklch */ color: oklch(80.8% 0.115 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd595',
    500: '#ccc468',
    950: '#000000',
  },
}
SCSS
$custom: #ccc468;
$custom-light: #ddd595;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc468",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 104
  },
  "hsl": {
    "h": 55.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80753,
    "c": 0.11468,
    "h": 104.2
  },
  "luminance": 0.53317
}

Semantic roles & 50–950 ramp

primary
#CCC468
secondary
#474D92
accent
#35BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC468

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

Preview Lab → · Contrast checker → · Palette generator →

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