#CCCC46#CCCC46

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

Color values

HEX#CCCC46
RGBrgb(204, 204, 70)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 65.7%, 20%)
CIE-LABlab(79.88, -16.20, 63.92)
CIE-LCHlch(79.88, 65.94, 104.22°)
OKLaboklab(82.1% -0.0504 0.1437)
OKLCHoklch(82.1% 0.152 109.3)
XYZxyz(47.6018, 56.4667, 14.1848)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC46 #4646CC
analogous
#CC8946 #CCCC46 #89CC46
triadic
#CCCC46 #46CCCC #CC46CC
tetradic
#CCCC46 #46CC89 #4646CC #CC4689
square
#CCCC46 #46CC89 #4646CC #CC4689
split-complementary
#CCCC46 #4689CC #8946CC
monochromatic
#777721 #A7A72E #CCCC46 #D9D976 #E6E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC46#FFFFFF#000000##000000
##CCCC461.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)
#DCC433
Deuteranopia (green-blind)
#DEC84F
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc46;
/* rgb */ color: rgb(204, 204, 70);
/* oklch */ color: oklch(82.1% 0.152 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb81',
    500: '#cccc46',
    950: '#000000',
  },
}
SCSS
$custom: #cccc46;
$custom-light: #dfdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc46",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82096,
    "c": 0.15229,
    "h": 109.3
  },
  "luminance": 0.56465
}

Semantic roles & 50–950 ramp

primary
#CCCC46
secondary
#37377F
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC46

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

Preview Lab → · Contrast checker → · Palette generator →

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