#CCC863#CCC863

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

Color values

HEX#CCC863
RGBrgb(204, 200, 99)
HSLhsl(58, 51%, 59%)
HSVhsv(58, 51%, 80%)
CMYKcmyk(0%, 2%, 51.5%, 20%)
CIE-LABlab(79.07, -12.14, 50.40)
CIE-LCHlch(79.07, 51.84, 103.54°)
OKLaboklab(81.54% -0.0358 0.1186)
OKLCHoklch(81.54% 0.124 106.8)
XYZxyz(47.8095, 55.0481, 19.9088)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC863 #6367CC
analogous
#CC9463 #CCC863 #9CCC63
triadic
#CCC863 #63CCC8 #C863CC
tetradic
#CCC863 #63CC94 #6367CC #CC639C
square
#CCC863 #63CC94 #6367CC #CC639C
split-complementary
#CCC863 #639CCC #9463CC
monochromatic
#88852C #B6B23C #CCC863 #DBD891 #EAE9BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC863#FFFFFF#000000##000000
##CCC8631.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)
#D6C15A
Deuteranopia (green-blind)
#D9C668
Tritanopia (blue-blind)
#D9BDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc863;
/* rgb */ color: rgb(204, 200, 99);
/* oklch */ color: oklch(81.5% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded892',
    500: '#ccc863',
    950: '#000000',
  },
}
SCSS
$custom: #ccc863;
$custom-light: #ded892;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc863",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 99
  },
  "hsl": {
    "h": 57.714,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81535,
    "c": 0.12385,
    "h": 106.8
  },
  "luminance": 0.55047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC863

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

Preview Lab → · Contrast checker → · Palette generator →

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