#CCC63B#CCC63B

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

Color values

HEX#CCC63B
RGBrgb(204, 198, 59)
HSLhsl(58, 59%, 52%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2.9%, 71.1%, 20%)
CIE-LABlab(78.19, -13.77, 66.37)
CIE-LCHlch(78.19, 67.78, 101.72°)
OKLaboklab(80.73% -0.0447 0.147)
OKLCHoklch(80.73% 0.154 106.9)
XYZxyz(45.8871, 53.5429, 12.0545)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC63B #3B41CC
analogous
#CC7E3B #CCC63B #8ACC3B
triadic
#CCC63B #3BCCC6 #C63BCC
tetradic
#CCC63B #3BCC7E #3B41CC #CC3B8A
square
#CCC63B #3BCC7E #3B41CC #CC3B8A
split-complementary
#CCC63B #3B8ACC #7E3BCC
monochromatic
#706C1D #A09B2A #CCC63B #D9D46C #E5E29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC63B#FFFFFF#000000##000000
##CCC63B1.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)
#D7BE23
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#DBB9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc63b;
/* rgb */ color: rgb(204, 198, 59);
/* oklch */ color: oklch(80.7% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#dfd77a',
    500: '#ccc63b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc63b;
$custom-light: #dfd77a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc63b",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 57.517,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.15366,
    "h": 106.9
  },
  "luminance": 0.53541
}

Semantic roles & 50–950 ramp

primary
#CCC63B
secondary
#323579
accent
#4CE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC63B

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

Preview Lab → · Contrast checker → · Palette generator →

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