#CCC149#CCC149

#CCC149 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.8% C 0.139 H 104.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CCC149
RGBrgb(204, 193, 73)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.4%, 64.2%, 20%)
CIE-LABlab(76.96, -10.47, 59.67)
CIE-LCHlch(76.96, 60.59, 99.95°)
OKLaboklab(79.77% -0.0339 0.1352)
OKLCHoklch(79.77% 0.139 104.1)
XYZxyz(45.1761, 51.4600, 13.8552)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC149 #4954CC
analogous
#CC8049 #CCC149 #96CC49
triadic
#CCC149 #49CCC1 #C149CC
tetradic
#CCC149 #49CC80 #4954CC #CC4996
square
#CCC149 #49CC80 #4954CC #CC4996
split-complementary
#CCC149 #4996CC #8049CC
monochromatic
#797122 #A99E2F #CCC149 #D9D179 #E7E2A9

Accessibility & contrast

On white

1.86
#CCC149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CCC149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC149
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC149#FFFFFF#000000##000000
##CCC1491.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3A
Deuteranopia (green-blind)
#D5C150
Tritanopia (blue-blind)
#DBB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc149;
/* rgb */ color: rgb(204, 193, 73);
/* oklch */ color: oklch(79.8% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd381',
    500: '#ccc149',
    950: '#000000',
  },
}
SCSS
$custom: #ccc149;
$custom-light: #dfd381;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc149",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 54.962,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79775,
    "c": 0.13939,
    "h": 104.1
  },
  "luminance": 0.51458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC149

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

Preview Lab → · Contrast checker → · Palette generator →

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