#CCC665#CCC665

#CCC665 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.120 H 105.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CCC665
RGBrgb(204, 198, 101)
HSLhsl(57, 50%, 60%)
HSVhsv(57, 50%, 80%)
CMYKcmyk(0%, 2.9%, 50.5%, 20%)
CIE-LABlab(78.56, -10.95, 48.84)
CIE-LCHlch(78.56, 50.05, 102.63°)
OKLaboklab(81.14% -0.0322 0.1154)
OKLCHoklch(81.14% 0.12 105.6)
XYZxyz(47.4461, 54.1665, 20.2653)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC665 #656BCC
analogous
#CC9365 #CCC665 #9ECC65
triadic
#CCC665 #65CCC6 #C665CC
tetradic
#CCC665 #65CC93 #656BCC #CC659E
square
#CCC665 #65CC93 #656BCC #CC659E
split-complementary
#CCC665 #659ECC #9365CC
monochromatic
#89842D #B7B03D #CCC665 #DBD793 #EAE8C1

Accessibility & contrast

On white

1.77
#CCC665 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CCC665 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC665
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC665#FFFFFF#000000##000000
##CCC6651.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05C
Deuteranopia (green-blind)
#D7C46A
Tritanopia (blue-blind)
#D9BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc665;
/* rgb */ color: rgb(204, 198, 101);
/* oklch */ color: oklch(81.1% 0.120 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd793',
    500: '#ccc665',
    950: '#000000',
  },
}
SCSS
$custom: #ccc665;
$custom-light: #ddd793;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc665",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 101
  },
  "hsl": {
    "h": 56.505,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81136,
    "c": 0.11978,
    "h": 105.6
  },
  "luminance": 0.54165
}

Semantic roles & 50–950 ramp

primary
#CCC665
secondary
#454990
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC665

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

Preview Lab → · Contrast checker → · Palette generator →

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