#CCC667#CCC667

#CCC667 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.118 H 105.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CCC667
RGBrgb(204, 198, 103)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 50%, 80%)
CMYKcmyk(0%, 2.9%, 49.5%, 20%)
CIE-LABlab(78.58, -10.77, 47.91)
CIE-LCHlch(78.58, 49.10, 102.67°)
OKLaboklab(81.16% -0.0315 0.1135)
OKLCHoklch(81.16% 0.118 105.5)
XYZxyz(47.5453, 54.2062, 20.7876)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC667 #676DCC
analogous
#CC9467 #CCC667 #9FCC67
triadic
#CCC667 #67CCC6 #C667CC
tetradic
#CCC667 #67CC94 #676DCC #CC679F
square
#CCC667 #67CC94 #676DCC #CC679F
split-complementary
#CCC667 #679FCC #9467CC
monochromatic
#8A852E #B8B13E #CCC667 #DBD795 #EBE8C3

Accessibility & contrast

On white

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

On black

11.84
#CCC667 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC667
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC667#FFFFFF#000000##000000
##CCC6671.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc667;
/* rgb */ color: rgb(204, 198, 103);
/* oklch */ color: oklch(81.2% 0.118 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#ccc667',
    950: '#000000',
  },
}
SCSS
$custom: #ccc667;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc667",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 103
  },
  "hsl": {
    "h": 56.436,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81162,
    "c": 0.1178,
    "h": 105.5
  },
  "luminance": 0.54205
}

Semantic roles & 50–950 ramp

primary
#CCC667
secondary
#464B91
accent
#31BD28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC667

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

Preview Lab → · Contrast checker → · Palette generator →

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