#CCC05E#CCC05E

#CCC05E is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.120 H 102.4°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CCC05E
RGBrgb(204, 192, 94)
HSLhsl(53, 52%, 58%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 5.9%, 53.9%, 20%)
CIE-LABlab(76.89, -8.46, 50.21)
CIE-LCHlch(76.89, 50.92, 99.57°)
OKLaboklab(79.78% -0.0258 0.1177)
OKLCHoklch(79.78% 0.12 102.4)
XYZxyz(45.7733, 51.3464, 18.0872)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC05E #5E6ACC
analogous
#CC895E #CCC05E #A1CC5E
triadic
#CCC05E #5ECCC0 #C05ECC
tetradic
#CCC05E #5ECC89 #5E6ACC #CC5EA1
square
#CCC05E #5ECC89 #5E6ACC #CC5EA1
split-complementary
#CCC05E #5EA1CC #895ECC
monochromatic
#857B2A #B4A639 #CCC05E #DBD28C #E9E4BB

Accessibility & contrast

On white

1.86
#CCC05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CCC05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC05E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC05E#FFFFFF#000000##000000
##CCC05E1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB55
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc05e;
/* rgb */ color: rgb(204, 192, 94);
/* oklch */ color: oklch(79.8% 0.120 102.4);
Tailwind
colors: {
  custom: {
    50: '#ded28e',
    500: '#ccc05e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc05e;
$custom-light: #ded28e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc05e",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 53.455,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79784,
    "c": 0.12047,
    "h": 102.4
  },
  "luminance": 0.51345
}

Semantic roles & 50–950 ramp

primary
#CCC05E
secondary
#424A8D
accent
#5CDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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