#CCCC3E#CCCC3E

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

Color values

HEX#CCCC3E
RGBrgb(204, 204, 62)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0%, 69.6%, 20%)
CIE-LABlab(79.83, -16.63, 66.88)
CIE-LCHlch(79.83, 68.92, 103.96°)
OKLaboklab(82.04% -0.0524 0.1486)
OKLCHoklch(82.04% 0.158 109.4)
XYZxyz(47.3659, 56.3723, 12.9424)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC3E #3E3ECC
analogous
#CC853E #CCCC3E #85CC3E
triadic
#CCCC3E #3ECCCC #CC3ECC
tetradic
#CCCC3E #3ECC85 #3E3ECC #CC3E85
square
#CCCC3E #3ECC85 #3E3ECC #CC3E85
split-complementary
#CCCC3E #3E85CC #853ECC
monochromatic
#72721E #A2A22B #CCCC3E #D9D96E #E6E69F

Accessibility & contrast

On white

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

On black

12.27
#CCCC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC3E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC3E#FFFFFF#000000##000000
##CCCC3E1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc3e;
/* rgb */ color: rgb(204, 204, 62);
/* oklch */ color: oklch(82.0% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#dfdb7c',
    500: '#cccc3e',
    950: '#000000',
  },
}
SCSS
$custom: #cccc3e;
$custom-light: #dfdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc3e",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.15759,
    "h": 109.4
  },
  "luminance": 0.56371
}

Semantic roles & 50–950 ramp

primary
#CCCC3E
secondary
#34347B
accent
#46E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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