#CCCC3F#CCCC3F

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

Color values

HEX#CCCC3F
RGBrgb(204, 204, 63)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 69%, 80%)
CMYKcmyk(0%, 0%, 69.1%, 20%)
CIE-LABlab(79.83, -16.58, 66.52)
CIE-LCHlch(79.83, 68.56, 103.99°)
OKLaboklab(82.04% -0.0522 0.148)
OKLCHoklch(82.04% 0.157 109.4)
XYZxyz(47.3936, 56.3834, 13.0882)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC3F #3F3FCC
analogous
#CC863F #CCCC3F #86CC3F
triadic
#CCCC3F #3FCCCC #CC3FCC
tetradic
#CCCC3F #3FCC86 #3F3FCC #CC3F86
square
#CCCC3F #3FCC86 #3F3FCC #CC3F86
split-complementary
#CCCC3F #3F86CC #863FCC
monochromatic
#72721E #A3A32B #CCCC3F #D9D96F #E6E6A0

Accessibility & contrast

On white

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

On black

12.28
#CCCC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC3F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC3F#FFFFFF#000000##000000
##CCCC3F1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc3f;
/* rgb */ color: rgb(204, 204, 63);
/* oklch */ color: oklch(82.0% 0.157 109.4);
Tailwind
colors: {
  custom: {
    50: '#dfdb7d',
    500: '#cccc3f',
    950: '#000000',
  },
}
SCSS
$custom: #cccc3f;
$custom-light: #dfdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc3f",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.15695,
    "h": 109.4
  },
  "luminance": 0.56382
}

Semantic roles & 50–950 ramp

primary
#CCCC3F
secondary
#34347B
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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