#CCC450#CCC450

#CCC450 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.137 H 105.3°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CCC450
RGBrgb(204, 196, 80)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 61%, 80%)
CMYKcmyk(0%, 3.9%, 60.8%, 20%)
CIE-LABlab(77.81, -11.55, 57.61)
CIE-LCHlch(77.81, 58.76, 101.34°)
OKLaboklab(80.48% -0.0362 0.1318)
OKLCHoklch(80.48% 0.137 105.3)
XYZxyz(46.0913, 52.8980, 15.3703)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC450 #5058CC
analogous
#CC8650 #CCC450 #96CC50
triadic
#CCC450 #50CCC4 #C450CC
tetradic
#CCC450 #50CC86 #5058CC #CC5096
square
#CCC450 #50CC86 #5058CC #CC5096
split-complementary
#CCC450 #5096CC #8650CC
monochromatic
#7D7724 #ADA532 #CCC450 #DAD47F #E8E4AF

Accessibility & contrast

On white

1.81
#CCC450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CCC450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC450
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC450#FFFFFF#000000##000000
##CCC4501.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD43
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc450;
/* rgb */ color: rgb(204, 196, 80);
/* oklch */ color: oklch(80.5% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded586',
    500: '#ccc450',
    950: '#000000',
  },
}
SCSS
$custom: #ccc450;
$custom-light: #ded586;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc450",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 56.129,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80477,
    "c": 0.13672,
    "h": 105.3
  },
  "luminance": 0.52896
}

Semantic roles & 50–950 ramp

primary
#CCC450
secondary
#3B4085
accent
#53DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC450

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

Preview Lab → · Contrast checker → · Palette generator →

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