#CCC43C#CCC43C

#CCC43C is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.151 H 106.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CCC43C
RGBrgb(204, 196, 60)
HSLhsl(57, 59%, 52%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.9%, 70.6%, 20%)
CIE-LABlab(77.67, -12.71, 65.49)
CIE-LCHlch(77.67, 66.71, 100.98°)
OKLaboklab(80.31% -0.0416 0.1454)
OKLCHoklch(80.31% 0.151 106)
XYZxyz(45.4592, 52.6451, 12.0410)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC43C #3C44CC
analogous
#CC7C3C #CCC43C #8CCC3C
triadic
#CCC43C #3CCCC4 #C43CCC
tetradic
#CCC43C #3CCC7C #3C44CC #CC3C8C
square
#CCC43C #3CCC7C #3C44CC #CC3C8C
split-complementary
#CCC43C #3C8CCC #7C3CCC
monochromatic
#706C1D #A19A2A #CCC43C #D9D36D #E5E19D

Accessibility & contrast

On white

1.82
#CCC43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CCC43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC43C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC43C#FFFFFF#000000##000000
##CCC43C1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD25
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#DBB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc43c;
/* rgb */ color: rgb(204, 196, 60);
/* oklch */ color: oklch(80.3% 0.151 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd57a',
    500: '#ccc43c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc43c;
$custom-light: #dfd57a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc43c",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 60
  },
  "hsl": {
    "h": 56.667,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80309,
    "c": 0.15118,
    "h": 106
  },
  "luminance": 0.52643
}

Semantic roles & 50–950 ramp

primary
#CCC43C
secondary
#333779
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC43C

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

Preview Lab → · Contrast checker → · Palette generator →

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