#CCC368#CCC368

#CCC368 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.114 H 103.6°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CCC368
RGBrgb(204, 195, 104)
HSLhsl(55, 50%, 60%)
HSVhsv(55, 49%, 80%)
CMYKcmyk(0%, 4.4%, 49%, 20%)
CIE-LABlab(77.80, -9.14, 46.48)
CIE-LCHlch(77.80, 47.37, 101.13°)
OKLaboklab(80.54% -0.0267 0.1105)
OKLCHoklch(80.54% 0.114 103.6)
XYZxyz(46.9169, 52.8685, 20.8272)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC368 #6871CC
analogous
#CC9168 #CCC368 #A3CC68
triadic
#CCC368 #68CCC3 #C368CC
tetradic
#CCC368 #68CC91 #6871CC #CC68A3
square
#CCC368 #68CC91 #6871CC #CC68A3
split-complementary
#CCC368 #68A3CC #9168CC
monochromatic
#8B822F #B8AD3E #CCC368 #DBD596 #EBE7C3

Accessibility & contrast

On white

1.81
#CCC368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CCC368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC368
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC368#FFFFFF#000000##000000
##CCC3681.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE60
Deuteranopia (green-blind)
#D4C36C
Tritanopia (blue-blind)
#D9B8AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc368;
/* rgb */ color: rgb(204, 195, 104);
/* oklch */ color: oklch(80.5% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddd595',
    500: '#ccc368',
    950: '#000000',
  },
}
SCSS
$custom: #ccc368;
$custom-light: #ddd595;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc368",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 104
  },
  "hsl": {
    "h": 54.6,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80543,
    "c": 0.11365,
    "h": 103.6
  },
  "luminance": 0.52867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC368

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

Preview Lab → · Contrast checker → · Palette generator →

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