#CCC864#CCC864

#CCC864 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.123 H 106.8°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CCC864
RGBrgb(204, 200, 100)
HSLhsl(58, 50%, 60%)
HSVhsv(58, 51%, 80%)
CMYKcmyk(0%, 2%, 51%, 20%)
CIE-LABlab(79.08, -12.05, 49.94)
CIE-LCHlch(79.08, 51.37, 103.57°)
OKLaboklab(81.55% -0.0354 0.1177)
OKLCHoklch(81.55% 0.123 106.8)
XYZxyz(47.8576, 55.0673, 20.1622)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC864 #6468CC
analogous
#CC9464 #CCC864 #9CCC64
triadic
#CCC864 #64CCC8 #C864CC
tetradic
#CCC864 #64CC94 #6468CC #CC649C
square
#CCC864 #64CC94 #6468CC #CC649C
split-complementary
#CCC864 #649CCC #9464CC
monochromatic
#89852D #B7B23C #CCC864 #DBD892 #EAE9C0

Accessibility & contrast

On white

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

On black

12.01
#CCC864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC864
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC864#FFFFFF#000000##000000
##CCC8641.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15B
Deuteranopia (green-blind)
#D8C669
Tritanopia (blue-blind)
#D9BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc864;
/* rgb */ color: rgb(204, 200, 100);
/* oklch */ color: oklch(81.5% 0.123 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded893',
    500: '#ccc864',
    950: '#000000',
  },
}
SCSS
$custom: #ccc864;
$custom-light: #ded893;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc864",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 100
  },
  "hsl": {
    "h": 57.692,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81547,
    "c": 0.12289,
    "h": 106.8
  },
  "luminance": 0.55066
}

Semantic roles & 50–950 ramp

primary
#CCC864
secondary
#454790
accent
#53DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC864

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

Preview Lab → · Contrast checker → · Palette generator →

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