#CCC442#CCC442

#CCC442 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.147 H 105.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CCC442
RGBrgb(204, 196, 66)
HSLhsl(57, 58%, 53%)
HSVhsv(57, 68%, 80%)
CMYKcmyk(0%, 3.9%, 67.6%, 20%)
CIE-LABlab(77.70, -12.40, 63.27)
CIE-LCHlch(77.70, 64.47, 101.09°)
OKLaboklab(80.35% -0.0401 0.1417)
OKLCHoklch(80.35% 0.147 105.8)
XYZxyz(45.6269, 52.7122, 12.9243)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC442 #424ACC
analogous
#CC7F42 #CCC442 #8FCC42
triadic
#CCC442 #42CCC4 #C442CC
tetradic
#CCC442 #42CC7F #424ACC #CC428F
square
#CCC442 #42CC7F #424ACC #CC428F
split-complementary
#CCC442 #428FCC #7F42CC
monochromatic
#746F1F #A49D2C #CCC442 #D9D372 #E6E2A2

Accessibility & contrast

On white

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

On black

11.54
#CCC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC442
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC442#FFFFFF#000000##000000
##CCC4421.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2F
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc442;
/* rgb */ color: rgb(204, 196, 66);
/* oklch */ color: oklch(80.4% 0.147 105.8);
Tailwind
colors: {
  custom: {
    50: '#dfd57e',
    500: '#ccc442',
    950: '#000000',
  },
}
SCSS
$custom: #ccc442;
$custom-light: #dfd57e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc442",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 56.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80354,
    "c": 0.14725,
    "h": 105.8
  },
  "luminance": 0.52711
}

Semantic roles & 50–950 ramp

primary
#CCC442
secondary
#35397D
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC442

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

Preview Lab → · Contrast checker → · Palette generator →

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