#CCC643#CCC643

#CCC643 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.148 H 106.7°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CCC643
RGBrgb(204, 198, 67)
HSLhsl(57, 57%, 53%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 2.9%, 67.2%, 20%)
CIE-LABlab(78.25, -13.36, 63.43)
CIE-LCHlch(78.25, 64.82, 101.89°)
OKLaboklab(80.79% -0.0427 0.1422)
OKLCHoklch(80.79% 0.148 106.7)
XYZxyz(46.1107, 53.6323, 13.2323)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC643 #4349CC
analogous
#CC8143 #CCC643 #8DCC43
triadic
#CCC643 #43CCC6 #C643CC
tetradic
#CCC643 #43CC81 #4349CC #CC438D
square
#CCC643 #43CC81 #4349CC #CC438D
split-complementary
#CCC643 #438DCC #8143CC
monochromatic
#757120 #A5A02D #CCC643 #D9D573 #E6E3A3

Accessibility & contrast

On white

1.79
#CCC643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CCC643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC643
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC643#FFFFFF#000000##000000
##CCC6431.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF30
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc643;
/* rgb */ color: rgb(204, 198, 67);
/* oklch */ color: oklch(80.8% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd77e',
    500: '#ccc643',
    950: '#000000',
  },
}
SCSS
$custom: #ccc643;
$custom-light: #dfd77e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc643",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 57.372,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80788,
    "c": 0.14846,
    "h": 106.7
  },
  "luminance": 0.53631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC643

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

Preview Lab → · Contrast checker → · Palette generator →

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