#CCC650#CCC650

#CCC650 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.139 H 106.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CCC650
RGBrgb(204, 198, 80)
HSLhsl(57, 55%, 56%)
HSVhsv(57, 61%, 80%)
CMYKcmyk(0%, 2.9%, 60.8%, 20%)
CIE-LABlab(78.35, -12.57, 58.19)
CIE-LCHlch(78.35, 59.53, 102.19°)
OKLaboklab(80.9% -0.0391 0.1331)
OKLCHoklch(80.9% 0.139 106.4)
XYZxyz(46.5454, 53.8062, 15.5217)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC650 #5056CC
analogous
#CC8850 #CCC650 #94CC50
triadic
#CCC650 #50CCC6 #C650CC
tetradic
#CCC650 #50CC88 #5056CC #CC5094
square
#CCC650 #50CC88 #5056CC #CC5094
split-complementary
#CCC650 #5094CC #8850CC
monochromatic
#7D7924 #ADA732 #CCC650 #DAD57F #E8E5AF

Accessibility & contrast

On white

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

On black

11.76
#CCC650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC650
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC650#FFFFFF#000000##000000
##CCC6501.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc650;
/* rgb */ color: rgb(204, 198, 80);
/* oklch */ color: oklch(80.9% 0.139 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded786',
    500: '#ccc650',
    950: '#000000',
  },
}
SCSS
$custom: #ccc650;
$custom-light: #ded786;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc650",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 57.097,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80902,
    "c": 0.13869,
    "h": 106.4
  },
  "luminance": 0.53805
}

Semantic roles & 50–950 ramp

primary
#CCC650
secondary
#3B3F85
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC650

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

Preview Lab → · Contrast checker → · Palette generator →

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