#CCC050#CCC050

#CCC050 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.133 H 103.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CCC050
RGBrgb(204, 192, 80)
HSLhsl(54, 55%, 56%)
HSVhsv(54, 61%, 80%)
CMYKcmyk(0%, 5.9%, 60.8%, 20%)
CIE-LABlab(76.75, -9.51, 56.45)
CIE-LCHlch(76.75, 57.25, 99.56°)
OKLaboklab(79.63% -0.0304 0.1294)
OKLCHoklch(79.63% 0.133 103.2)
XYZxyz(45.2011, 51.1175, 15.0735)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC050 #505CCC
analogous
#CC8250 #CCC050 #9ACC50
triadic
#CCC050 #50CCC0 #C050CC
tetradic
#CCC050 #50CC82 #505CCC #CC509A
square
#CCC050 #50CC82 #505CCC #CC509A
split-complementary
#CCC050 #509ACC #8250CC
monochromatic
#7D7524 #ADA132 #CCC050 #DAD17F #E8E2AF

Accessibility & contrast

On white

1.87
#CCC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CCC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC050
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC050#FFFFFF#000000##000000
##CCC0501.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#DAB4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc050;
/* rgb */ color: rgb(204, 192, 80);
/* oklch */ color: oklch(79.6% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded286',
    500: '#ccc050',
    950: '#000000',
  },
}
SCSS
$custom: #ccc050;
$custom-light: #ded286;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc050",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 54.194,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7963,
    "c": 0.1329,
    "h": 103.2
  },
  "luminance": 0.51116
}

Semantic roles & 50–950 ramp

primary
#CCC050
secondary
#3B4285
accent
#58DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC050

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

Preview Lab → · Contrast checker → · Palette generator →

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