#CCC351#CCC351

#CCC351 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.135 H 104.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CCC351
RGBrgb(204, 195, 81)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 4.4%, 60.3%, 20%)
CIE-LABlab(77.56, -10.97, 56.90)
CIE-LCHlch(77.56, 57.94, 100.92°)
OKLaboklab(80.27% -0.0344 0.1305)
OKLCHoklch(80.27% 0.135 104.8)
XYZxyz(45.9037, 52.4633, 15.4914)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC351 #515ACC
analogous
#CC8551 #CCC351 #97CC51
triadic
#CCC351 #51CCC3 #C351CC
tetradic
#CCC351 #51CC85 #515ACC #CC5197
square
#CCC351 #51CC85 #515ACC #CC5197
split-complementary
#CCC351 #5197CC #8551CC
monochromatic
#7E7725 #ADA433 #CCC351 #DAD380 #E8E4B0

Accessibility & contrast

On white

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

On black

11.49
#CCC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC351
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC351#FFFFFF#000000##000000
##CCC3511.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#DAB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc351;
/* rgb */ color: rgb(204, 195, 81);
/* oklch */ color: oklch(80.3% 0.135 104.8);
Tailwind
colors: {
  custom: {
    50: '#ded486',
    500: '#ccc351',
    950: '#000000',
  },
}
SCSS
$custom: #ccc351;
$custom-light: #ded486;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc351",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 55.61,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80274,
    "c": 0.13492,
    "h": 104.8
  },
  "luminance": 0.52462
}

Semantic roles & 50–950 ramp

primary
#CCC351
secondary
#3C4186
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC351

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

Preview Lab → · Contrast checker → · Palette generator →

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