#CCC850#CCC850

#CCC850 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.141 H 107.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CCC850
RGBrgb(204, 200, 80)
HSLhsl(58, 55%, 56%)
HSVhsv(58, 61%, 80%)
CMYKcmyk(0%, 2%, 60.8%, 20%)
CIE-LABlab(78.88, -13.58, 58.77)
CIE-LCHlch(78.88, 60.32, 103.01°)
OKLaboklab(81.33% -0.0419 0.1343)
OKLCHoklch(81.33% 0.141 107.3)
XYZxyz(47.0056, 54.7265, 15.6751)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC850 #5054CC
analogous
#CC8A50 #CCC850 #92CC50
triadic
#CCC850 #50CCC8 #C850CC
tetradic
#CCC850 #50CC8A #5054CC #CC5092
square
#CCC850 #50CC8A #5054CC #CC5092
split-complementary
#CCC850 #5092CC #8A50CC
monochromatic
#7D7A24 #ADA932 #CCC850 #DAD77F #E8E6AF

Accessibility & contrast

On white

1.76
#CCC850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CCC850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC850
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC850#FFFFFF#000000##000000
##CCC8501.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#DABCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc850;
/* rgb */ color: rgb(204, 200, 80);
/* oklch */ color: oklch(81.3% 0.141 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded886',
    500: '#ccc850',
    950: '#000000',
  },
}
SCSS
$custom: #ccc850;
$custom-light: #ded886;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc850",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 58.065,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81328,
    "c": 0.1407,
    "h": 107.3
  },
  "luminance": 0.54725
}

Semantic roles & 50–950 ramp

primary
#CCC850
secondary
#3B3E85
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC850

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

Preview Lab → · Contrast checker → · Palette generator →

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