#CCC867#CCC867

#CCC867 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.120 H 106.7°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CCC867
RGBrgb(204, 200, 103)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 50%, 80%)
CMYKcmyk(0%, 2%, 49.5%, 20%)
CIE-LABlab(79.11, -11.79, 48.54)
CIE-LCHlch(79.11, 49.96, 103.65°)
OKLaboklab(81.59% -0.0344 0.1149)
OKLCHoklch(81.59% 0.12 106.7)
XYZxyz(48.0055, 55.1265, 20.9410)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC867 #676BCC
analogous
#CC9667 #CCC867 #9DCC67
triadic
#CCC867 #67CCC8 #C867CC
tetradic
#CCC867 #67CC96 #676BCC #CC679D
square
#CCC867 #67CC96 #676BCC #CC679D
split-complementary
#CCC867 #679DCC #9667CC
monochromatic
#8A872E #B8B33E #CCC867 #DBD995 #EBE9C3

Accessibility & contrast

On white

1.75
#CCC867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CCC867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC867
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC867#FFFFFF#000000##000000
##CCC8671.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C25E
Deuteranopia (green-blind)
#D8C66C
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc867;
/* rgb */ color: rgb(204, 200, 103);
/* oklch */ color: oklch(81.6% 0.120 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd895',
    500: '#ccc867',
    950: '#000000',
  },
}
SCSS
$custom: #ccc867;
$custom-light: #ddd895;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc867",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 57.624,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.11994,
    "h": 106.7
  },
  "luminance": 0.55125
}

Semantic roles & 50–950 ramp

primary
#CCC867
secondary
#464991
accent
#2EBD28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC867

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

Preview Lab → · Contrast checker → · Palette generator →

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