#CCC849#CCC849

#CCC849 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.146 H 107.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CCC849
RGBrgb(204, 200, 73)
HSLhsl(58, 56%, 54%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2%, 64.2%, 20%)
CIE-LABlab(78.83, -14.02, 61.64)
CIE-LCHlch(78.83, 63.21, 102.82°)
OKLaboklab(81.26% -0.044 0.1393)
OKLCHoklch(81.26% 0.146 107.5)
XYZxyz(46.7603, 54.6284, 14.3832)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC849 #494DCC
analogous
#CC8749 #CCC849 #8FCC49
triadic
#CCC849 #49CCC8 #C849CC
tetradic
#CCC849 #49CC87 #494DCC #CC498F
square
#CCC849 #49CC87 #494DCC #CC498F
split-complementary
#CCC849 #498FCC #8749CC
monochromatic
#797622 #A9A52F #CCC849 #D9D679 #E7E5A9

Accessibility & contrast

On white

1.76
#CCC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CCC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC849
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC849#FFFFFF#000000##000000
##CCC8491.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C038
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc849;
/* rgb */ color: rgb(204, 200, 73);
/* oklch */ color: oklch(81.3% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfd882',
    500: '#ccc849',
    950: '#000000',
  },
}
SCSS
$custom: #ccc849;
$custom-light: #dfd882;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc849",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 58.168,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81264,
    "c": 0.14611,
    "h": 107.5
  },
  "luminance": 0.54627
}

Semantic roles & 50–950 ramp

primary
#CCC849
secondary
#383A81
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC849

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

Preview Lab → · Contrast checker → · Palette generator →

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