#CCC345#CCC345

#CCC345 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.144 H 105.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CCC345
RGBrgb(204, 195, 69)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 4.4%, 66.2%, 20%)
CIE-LABlab(77.46, -11.73, 61.83)
CIE-LCHlch(77.46, 62.94, 100.74°)
OKLaboklab(80.16% -0.0379 0.1391)
OKLCHoklch(80.16% 0.144 105.2)
XYZxyz(45.4929, 52.2989, 13.3274)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC345 #454ECC
analogous
#CC7F45 #CCC345 #91CC45
triadic
#CCC345 #45CCC3 #C345CC
tetradic
#CCC345 #45CC7F #454ECC #CC4591
square
#CCC345 #45CC7F #454ECC #CC4591
split-complementary
#CCC345 #4591CC #7F45CC
monochromatic
#767020 #A69E2E #CCC345 #D9D275 #E6E2A5

Accessibility & contrast

On white

1.83
#CCC345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CCC345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC345
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC345#FFFFFF#000000##000000
##CCC3451.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc345;
/* rgb */ color: rgb(204, 195, 69);
/* oklch */ color: oklch(80.2% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd47f',
    500: '#ccc345',
    950: '#000000',
  },
}
SCSS
$custom: #ccc345;
$custom-light: #dfd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc345",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 56,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80165,
    "c": 0.14421,
    "h": 105.2
  },
  "luminance": 0.52297
}

Semantic roles & 50–950 ramp

primary
#CCC345
secondary
#363B7F
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC345

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

Preview Lab → · Contrast checker → · Palette generator →

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