#CCCC62#CCCC62

#CCCC62 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.129 H 108.9°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CCCC62
RGBrgb(204, 204, 98)
HSLhsl(60, 51%, 59%)
HSVhsv(60, 52%, 80%)
CMYKcmyk(0%, 0%, 52%, 20%)
CIE-LABlab(80.13, -14.24, 52.10)
CIE-LCHlch(80.13, 54.01, 105.29°)
OKLaboklab(82.37% -0.0419 0.1222)
OKLCHoklch(82.37% 0.129 108.9)
XYZxyz(48.7005, 56.9062, 19.9715)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC62 #6262CC
analogous
#CC9762 #CCCC62 #97CC62
triadic
#CCCC62 #62CCCC #CC62CC
tetradic
#CCCC62 #62CC97 #6262CC #CC6297
square
#CCCC62 #62CC97 #6262CC #CC6297
split-complementary
#CCCC62 #6297CC #9762CC
monochromatic
#88882C #B6B63B #CCCC62 #DBDB90 #EAEABE

Accessibility & contrast

On white

1.70
#CCCC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CCCC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC62
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC62#FFFFFF#000000##000000
##CCCC621.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#DCC968
Tritanopia (blue-blind)
#D8C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc62;
/* rgb */ color: rgb(204, 204, 98);
/* oklch */ color: oklch(82.4% 0.129 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedb92',
    500: '#cccc62',
    950: '#000000',
  },
}
SCSS
$custom: #cccc62;
$custom-light: #dedb92;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc62",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82374,
    "c": 0.12916,
    "h": 108.9
  },
  "luminance": 0.56905
}

Semantic roles & 50–950 ramp

primary
#CCCC62
secondary
#44448F
accent
#4DDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCC62

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

Preview Lab → · Contrast checker → · Palette generator →

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