#CCC349#CCC349

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

Color values

HEX#CCC349
RGBrgb(204, 195, 73)
HSLhsl(56, 56%, 54%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 4.4%, 64.2%, 20%)
CIE-LABlab(77.49, -11.49, 60.24)
CIE-LCHlch(77.49, 61.32, 100.80°)
OKLaboklab(80.2% -0.0368 0.1364)
OKLCHoklch(80.2% 0.141 105.1)
XYZxyz(45.6212, 52.3502, 14.0035)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC349 #4952CC
analogous
#CC8249 #CCC349 #94CC49
triadic
#CCC349 #49CCC3 #C349CC
tetradic
#CCC349 #49CC82 #4952CC #CC4994
square
#CCC349 #49CC82 #4952CC #CC4994
split-complementary
#CCC349 #4994CC #8249CC
monochromatic
#797322 #A9A02F #CCC349 #D9D379 #E7E3A9

Accessibility & contrast

On white

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

On black

11.47
#CCC349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC349
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC349#FFFFFF#000000##000000
##CCC3491.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC39
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#DAB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc349;
/* rgb */ color: rgb(204, 195, 73);
/* oklch */ color: oklch(80.2% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd482',
    500: '#ccc349',
    950: '#000000',
  },
}
SCSS
$custom: #ccc349;
$custom-light: #dfd482;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc349",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 55.878,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80199,
    "c": 0.14126,
    "h": 105.1
  },
  "luminance": 0.52349
}

Semantic roles & 50–950 ramp

primary
#CCC349
secondary
#383D81
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC349

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

Preview Lab → · Contrast checker → · Palette generator →

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