#CCC548#CCC548

#CCC548 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.144 H 106.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CCC548
RGBrgb(204, 197, 72)
HSLhsl(57, 56%, 54%)
HSVhsv(57, 65%, 80%)
CMYKcmyk(0%, 3.4%, 64.7%, 20%)
CIE-LABlab(78.02, -12.57, 61.20)
CIE-LCHlch(78.02, 62.47, 101.60°)
OKLaboklab(80.62% -0.0399 0.1383)
OKLCHoklch(80.62% 0.144 106.1)
XYZxyz(46.0395, 53.2393, 13.9807)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC548 #484FCC
analogous
#CC8348 #CCC548 #91CC48
triadic
#CCC548 #48CCC5 #C548CC
tetradic
#CCC548 #48CC83 #484FCC #CC4891
square
#CCC548 #48CC83 #484FCC #CC4891
split-complementary
#CCC548 #4891CC #8348CC
monochromatic
#787421 #A8A22F #CCC548 #D9D478 #E7E3A8

Accessibility & contrast

On white

1.80
#CCC548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CCC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC548
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC548#FFFFFF#000000##000000
##CCC5481.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc548;
/* rgb */ color: rgb(204, 197, 72);
/* oklch */ color: oklch(80.6% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd681',
    500: '#ccc548',
    950: '#000000',
  },
}
SCSS
$custom: #ccc548;
$custom-light: #dfd681;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc548",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 56.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80616,
    "c": 0.14391,
    "h": 106.1
  },
  "luminance": 0.53238
}

Semantic roles & 50–950 ramp

primary
#CCC548
secondary
#383C80
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC548

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

Preview Lab → · Contrast checker → · Palette generator →

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