#CCC348#CCC348

#CCC348 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.142 H 105.1°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CCC348
RGBrgb(204, 195, 72)
HSLhsl(56, 56%, 54%)
HSVhsv(56, 65%, 80%)
CMYKcmyk(0%, 4.4%, 64.7%, 20%)
CIE-LABlab(77.48, -11.55, 60.64)
CIE-LCHlch(77.48, 61.73, 100.78°)
OKLaboklab(80.19% -0.0371 0.1371)
OKLCHoklch(80.19% 0.142 105.1)
XYZxyz(45.5883, 52.3371, 13.8303)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC348 #4851CC
analogous
#CC8148 #CCC348 #93CC48
triadic
#CCC348 #48CCC3 #C348CC
tetradic
#CCC348 #48CC81 #4851CC #CC4893
square
#CCC348 #48CC81 #4851CC #CC4893
split-complementary
#CCC348 #4893CC #8148CC
monochromatic
#787221 #A8A02F #CCC348 #D9D378 #E7E2A8

Accessibility & contrast

On white

1.83
#CCC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CCC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC348
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC348#FFFFFF#000000##000000
##CCC3481.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#DAB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc348;
/* rgb */ color: rgb(204, 195, 72);
/* oklch */ color: oklch(80.2% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd481',
    500: '#ccc348',
    950: '#000000',
  },
}
SCSS
$custom: #ccc348;
$custom-light: #dfd481;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc348",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 55.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80191,
    "c": 0.14201,
    "h": 105.1
  },
  "luminance": 0.52335
}

Semantic roles & 50–950 ramp

primary
#CCC348
secondary
#383D80
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC348

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

Preview Lab → · Contrast checker → · Palette generator →

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