#CCC045#CCC045

#CCC045 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.141 H 103.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CCC045
RGBrgb(204, 192, 69)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 66%, 80%)
CMYKcmyk(0%, 5.9%, 66.2%, 20%)
CIE-LABlab(76.66, -10.20, 61.01)
CIE-LCHlch(76.66, 61.86, 99.49°)
OKLaboklab(79.53% -0.0336 0.1374)
OKLCHoklch(79.53% 0.141 103.7)
XYZxyz(44.8274, 50.9680, 13.1056)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC045 #4551CC
analogous
#CC7C45 #CCC045 #94CC45
triadic
#CCC045 #45CCC0 #C045CC
tetradic
#CCC045 #45CC7C #4551CC #CC4594
square
#CCC045 #45CC7C #4551CC #CC4594
split-complementary
#CCC045 #4594CC #7C45CC
monochromatic
#766F20 #A69B2E #CCC045 #D9D075 #E6E1A5

Accessibility & contrast

On white

1.88
#CCC045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CCC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC045
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC045#FFFFFF#000000##000000
##CCC0451.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc045;
/* rgb */ color: rgb(204, 192, 69);
/* oklch */ color: oklch(79.5% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#dfd27f',
    500: '#ccc045',
    950: '#000000',
  },
}
SCSS
$custom: #ccc045;
$custom-light: #dfd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc045",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 54.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79529,
    "c": 0.14144,
    "h": 103.7
  },
  "luminance": 0.50966
}

Semantic roles & 50–950 ramp

primary
#CCC045
secondary
#363D7F
accent
#55E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC045

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

Preview Lab → · Contrast checker → · Palette generator →

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