#CCC543#CCC543

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

Color values

HEX#CCC543
RGBrgb(204, 197, 67)
HSLhsl(57, 57%, 53%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 3.4%, 67.2%, 20%)
CIE-LABlab(77.98, -12.85, 63.16)
CIE-LCHlch(77.98, 64.45, 101.50°)
OKLaboklab(80.58% -0.0413 0.1416)
OKLCHoklch(80.58% 0.147 106.3)
XYZxyz(45.8829, 53.1767, 13.1563)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC543 #434ACC
analogous
#CC8043 #CCC543 #8FCC43
triadic
#CCC543 #43CCC5 #C543CC
tetradic
#CCC543 #43CC80 #434ACC #CC438F
square
#CCC543 #43CC80 #434ACC #CC438F
split-complementary
#CCC543 #438FCC #8043CC
monochromatic
#757120 #A59F2D #CCC543 #D9D473 #E6E3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC543#FFFFFF#000000##000000
##CCC5431.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)
#D5BE30
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc543;
/* rgb */ color: rgb(204, 197, 67);
/* oklch */ color: oklch(80.6% 0.147 106.3);
Tailwind
colors: {
  custom: {
    50: '#dfd67e',
    500: '#ccc543',
    950: '#000000',
  },
}
SCSS
$custom: #ccc543;
$custom-light: #dfd67e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc543",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 56.934,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.14749,
    "h": 106.3
  },
  "luminance": 0.53175
}

Semantic roles & 50–950 ramp

primary
#CCC543
secondary
#36397E
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC543

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

Preview Lab → · Contrast checker → · Palette generator →

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