#CCC749#CCC749

#CCC749 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.145 H 107.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CCC749
RGBrgb(204, 199, 73)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2.5%, 64.2%, 20%)
CIE-LABlab(78.56, -13.52, 61.36)
CIE-LCHlch(78.56, 62.83, 102.42°)
OKLaboklab(81.05% -0.0425 0.1388)
OKLCHoklch(81.05% 0.145 107)
XYZxyz(46.5295, 54.1668, 14.3063)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC749 #494ECC
analogous
#CC8649 #CCC749 #90CC49
triadic
#CCC749 #49CCC7 #C749CC
tetradic
#CCC749 #49CC86 #494ECC #CC4990
square
#CCC749 #49CC86 #494ECC #CC4990
split-complementary
#CCC749 #4990CC #8649CC
monochromatic
#797522 #A9A42F #CCC749 #D9D679 #E7E4A9

Accessibility & contrast

On white

1.77
#CCC749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CCC749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC749
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC749#FFFFFF#000000##000000
##CCC7491.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C039
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#DABBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc749;
/* rgb */ color: rgb(204, 199, 73);
/* oklch */ color: oklch(81.1% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#ccc749',
    950: '#000000',
  },
}
SCSS
$custom: #ccc749;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc749",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 57.71,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81051,
    "c": 0.14512,
    "h": 107
  },
  "luminance": 0.54165
}

Semantic roles & 50–950 ramp

primary
#CCC749
secondary
#383B81
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC749

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

Preview Lab → · Contrast checker → · Palette generator →

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