#CCC33C#CCC33C

#CCC33C is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.150 H 105.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CCC33C
RGBrgb(204, 195, 60)
HSLhsl(56, 59%, 52%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.4%, 70.6%, 20%)
CIE-LABlab(77.40, -12.20, 65.23)
CIE-LCHlch(77.40, 66.36, 100.60°)
OKLaboklab(80.1% -0.0402 0.1448)
OKLCHoklch(80.1% 0.15 105.5)
XYZxyz(45.2344, 52.1955, 11.9661)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC33C #3C45CC
analogous
#CC7B3C #CCC33C #8DCC3C
triadic
#CCC33C #3CCCC3 #C33CCC
tetradic
#CCC33C #3CCC7B #3C45CC #CC3C8D
square
#CCC33C #3CCC7B #3C45CC #CC3C8D
split-complementary
#CCC33C #3C8DCC #7B3CCC
monochromatic
#706B1D #A1992A #CCC33C #D9D26D #E5E19D

Accessibility & contrast

On white

1.84
#CCC33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CCC33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC33C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC33C#FFFFFF#000000##000000
##CCC33C1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC25
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#DBB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc33c;
/* rgb */ color: rgb(204, 195, 60);
/* oklch */ color: oklch(80.1% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd47a',
    500: '#ccc33c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc33c;
$custom-light: #dfd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc33c",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 56.25,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80096,
    "c": 0.15026,
    "h": 105.5
  },
  "luminance": 0.52194
}

Semantic roles & 50–950 ramp

primary
#CCC33C
secondary
#333779
accent
#50E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC33C

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

Preview Lab → · Contrast checker → · Palette generator →

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