#CCC048#CCC048

#CCC048 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.139 H 103.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CCC048
RGBrgb(204, 192, 72)
HSLhsl(55, 56%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 5.9%, 64.7%, 20%)
CIE-LABlab(76.68, -10.02, 59.80)
CIE-LCHlch(76.68, 60.64, 99.51°)
OKLaboklab(79.55% -0.0327 0.1353)
OKLCHoklch(79.55% 0.139 103.6)
XYZxyz(44.9229, 51.0062, 13.6085)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC048 #4854CC
analogous
#CC7E48 #CCC048 #96CC48
triadic
#CCC048 #48CCC0 #C048CC
tetradic
#CCC048 #48CC7E #4854CC #CC4896
square
#CCC048 #48CC7E #4854CC #CC4896
split-complementary
#CCC048 #4896CC #7E48CC
monochromatic
#787021 #A89D2F #CCC048 #D9D078 #E7E1A8

Accessibility & contrast

On white

1.87
#CCC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CCC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC048
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC048#FFFFFF#000000##000000
##CCC0481.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA39
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#DBB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccc048;
/* rgb */ color: rgb(204, 192, 72);
/* oklch */ color: oklch(79.6% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd281',
    500: '#ccc048',
    950: '#000000',
  },
}
SCSS
$custom: #ccc048;
$custom-light: #dfd281;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc048",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 54.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79555,
    "c": 0.13922,
    "h": 103.6
  },
  "luminance": 0.51005
}

Semantic roles & 50–950 ramp

primary
#CCC048
secondary
#383E80
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC048

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

Preview Lab → · Contrast checker → · Palette generator →

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