#CCCC43#CCCC43

#CCCC43 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.154 H 109.4°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CCCC43
RGBrgb(204, 204, 67)
HSLhsl(60, 57%, 53%)
HSVhsv(60, 67%, 80%)
CMYKcmyk(0%, 0%, 67.2%, 20%)
CIE-LABlab(79.86, -16.37, 65.06)
CIE-LCHlch(79.86, 67.08, 104.12°)
OKLaboklab(82.07% -0.0512 0.1456)
OKLCHoklch(82.07% 0.154 109.4)
XYZxyz(47.5094, 56.4297, 13.6985)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC43 #4343CC
analogous
#CC8743 #CCCC43 #87CC43
triadic
#CCCC43 #43CCCC #CC43CC
tetradic
#CCCC43 #43CC87 #4343CC #CC4387
square
#CCCC43 #43CC87 #4343CC #CC4387
split-complementary
#CCCC43 #4387CC #8743CC
monochromatic
#757520 #A5A52D #CCCC43 #D9D973 #E6E6A3

Accessibility & contrast

On white

1.71
#CCCC43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CCCC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC43
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC43#FFFFFF#000000##000000
##CCCC431.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42E
Deuteranopia (green-blind)
#DEC84C
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc43;
/* rgb */ color: rgb(204, 204, 67);
/* oklch */ color: oklch(82.1% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#dfdb7f',
    500: '#cccc43',
    950: '#000000',
  },
}
SCSS
$custom: #cccc43;
$custom-light: #dfdb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc43",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82073,
    "c": 0.15434,
    "h": 109.4
  },
  "luminance": 0.56428
}

Semantic roles & 50–950 ramp

primary
#CCCC43
secondary
#36367E
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC43

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

Preview Lab → · Contrast checker → · Palette generator →

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