#CCC053#CCC053

#CCC053 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.130 H 103.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CCC053
RGBrgb(204, 192, 83)
HSLhsl(54, 54%, 56%)
HSVhsv(54, 59%, 80%)
CMYKcmyk(0%, 5.9%, 59.3%, 20%)
CIE-LABlab(76.78, -9.30, 55.15)
CIE-LCHlch(76.78, 55.93, 99.57°)
OKLaboklab(79.66% -0.0294 0.127)
OKLCHoklch(79.66% 0.13 103.1)
XYZxyz(45.3144, 51.1628, 15.6704)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC053 #535FCC
analogous
#CC8453 #CCC053 #9CCC53
triadic
#CCC053 #53CCC0 #C053CC
tetradic
#CCC053 #53CC84 #535FCC #CC539C
square
#CCC053 #53CC84 #535FCC #CC539C
split-complementary
#CCC053 #539CCC #8453CC
monochromatic
#7F7626 #AEA234 #CCC053 #DAD182 #E8E3B1

Accessibility & contrast

On white

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

On black

11.23
#CCC053 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC053
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC053#FFFFFF#000000##000000
##CCC0531.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc053;
/* rgb */ color: rgb(204, 192, 83);
/* oklch */ color: oklch(79.7% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#ded287',
    500: '#ccc053',
    950: '#000000',
  },
}
SCSS
$custom: #ccc053;
$custom-light: #ded287;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc053",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 83
  },
  "hsl": {
    "h": 54.05,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79661,
    "c": 0.13037,
    "h": 103.1
  },
  "luminance": 0.51161
}

Semantic roles & 50–950 ramp

primary
#CCC053
secondary
#3D4487
accent
#59DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC053

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

Preview Lab → · Contrast checker → · Palette generator →

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