#CCC249#CCC249

#CCC249 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.140 H 104.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CCC249
RGBrgb(204, 194, 73)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 4.9%, 64.2%, 20%)
CIE-LABlab(77.22, -10.98, 59.95)
CIE-LCHlch(77.22, 60.95, 100.38°)
OKLaboklab(79.99% -0.0353 0.1358)
OKLCHoklch(79.99% 0.14 104.6)
XYZxyz(45.3979, 51.9036, 13.9291)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC249 #4953CC
analogous
#CC8149 #CCC249 #95CC49
triadic
#CCC249 #49CCC2 #C249CC
tetradic
#CCC249 #49CC81 #4953CC #CC4995
square
#CCC249 #49CC81 #4953CC #CC4995
split-complementary
#CCC249 #4995CC #8149CC
monochromatic
#797222 #A99F2F #CCC249 #D9D279 #E7E2A9

Accessibility & contrast

On white

1.85
#CCC249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CCC249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC249
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC249#FFFFFF#000000##000000
##CCC2491.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3A
Deuteranopia (green-blind)
#D6C150
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc249;
/* rgb */ color: rgb(204, 194, 73);
/* oklch */ color: oklch(80.0% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#dfd481',
    500: '#ccc249',
    950: '#000000',
  },
}
SCSS
$custom: #ccc249;
$custom-light: #dfd481;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc249",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 55.42,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79987,
    "c": 0.14031,
    "h": 104.6
  },
  "luminance": 0.51902
}

Semantic roles & 50–950 ramp

primary
#CCC249
secondary
#383E81
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC249

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

Preview Lab → · Contrast checker → · Palette generator →

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