#CCC63D#CCC63D

#CCC63D is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.7% C 0.152 H 106.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CCC63D
RGBrgb(204, 198, 61)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 70%, 80%)
CMYKcmyk(0%, 2.9%, 70.1%, 20%)
CIE-LABlab(78.21, -13.67, 65.66)
CIE-LCHlch(78.21, 67.07, 101.76°)
OKLaboklab(80.74% -0.0442 0.1459)
OKLCHoklch(80.74% 0.152 106.9)
XYZxyz(45.9400, 53.5640, 12.3329)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC63D #3D43CC
analogous
#CC7F3D #CCC63D #8ACC3D
triadic
#CCC63D #3DCCC6 #C63DCC
tetradic
#CCC63D #3DCC7F #3D43CC #CC3D8A
square
#CCC63D #3DCC7F #3D43CC #CC3D8A
split-complementary
#CCC63D #3D8ACC #7F3DCC
monochromatic
#716D1E #A19C2A #CCC63D #D9D46D #E5E29E

Accessibility & contrast

On white

1.79
#CCC63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CCC63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC63D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC63D#FFFFFF#000000##000000
##CCC63D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE26
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#DBB9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc63d;
/* rgb */ color: rgb(204, 198, 61);
/* oklch */ color: oklch(80.7% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfd77b',
    500: '#ccc63d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc63d;
$custom-light: #dfd77b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc63d",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 61
  },
  "hsl": {
    "h": 57.483,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80743,
    "c": 0.15242,
    "h": 106.9
  },
  "luminance": 0.53562
}

Semantic roles & 50–950 ramp

primary
#CCC63D
secondary
#33367A
accent
#4DE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC63D

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

Preview Lab → · Contrast checker → · Palette generator →

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