#CCC546#CCC546

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

Color values

HEX#CCC546
RGBrgb(204, 197, 70)
HSLhsl(57, 57%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 3.4%, 65.7%, 20%)
CIE-LABlab(78.00, -12.68, 61.99)
CIE-LCHlch(78.00, 63.28, 101.56°)
OKLaboklab(80.6% -0.0405 0.1396)
OKLCHoklch(80.6% 0.145 106.2)
XYZxyz(45.9753, 53.2137, 13.6426)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC546 #464DCC
analogous
#CC8246 #CCC546 #90CC46
triadic
#CCC546 #46CCC5 #C546CC
tetradic
#CCC546 #46CC82 #464DCC #CC4690
square
#CCC546 #46CC82 #464DCC #CC4690
split-complementary
#CCC546 #4690CC #8246CC
monochromatic
#777221 #A7A12E #CCC546 #D9D476 #E6E3A6

Accessibility & contrast

On white

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

On black

11.64
#CCC546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC546
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC546#FFFFFF#000000##000000
##CCC5461.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc546;
/* rgb */ color: rgb(204, 197, 70);
/* oklch */ color: oklch(80.6% 0.145 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd680',
    500: '#ccc546',
    950: '#000000',
  },
}
SCSS
$custom: #ccc546;
$custom-light: #dfd680;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc546",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 56.866,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.14538,
    "h": 106.2
  },
  "luminance": 0.53212
}

Semantic roles & 50–950 ramp

primary
#CCC546
secondary
#373B7F
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC546

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

Preview Lab → · Contrast checker → · Palette generator →

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