#CCC533#CCC533

#CCC533 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.157 H 106.6°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CCC533
RGBrgb(204, 197, 51)
HSLhsl(57, 60%, 50%)
HSVhsv(57, 75%, 80%)
CMYKcmyk(0%, 3.4%, 75%, 20%)
CIE-LABlab(77.88, -13.62, 68.81)
CIE-LCHlch(77.88, 70.14, 101.19°)
OKLaboklab(80.47% -0.045 0.1507)
OKLCHoklch(80.47% 0.157 106.6)
XYZxyz(45.4675, 53.0105, 10.9684)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC533 #333ACC
analogous
#CC7933 #CCC533 #86CC33
triadic
#CCC533 #33CCC5 #C533CC
tetradic
#CCC533 #33CC79 #333ACC #CC3386
square
#CCC533 #33CC79 #333ACC #CC3386
split-complementary
#CCC533 #3386CC #7933CC
monochromatic
#6A661B #9B9627 #CCC533 #D8D364 #E4E195

Accessibility & contrast

On white

1.81
#CCC533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CCC533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC533
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC533#FFFFFF#000000##000000
##CCC5331.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD11
Deuteranopia (green-blind)
#D9C33E
Tritanopia (blue-blind)
#DBB8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc533;
/* rgb */ color: rgb(204, 197, 51);
/* oklch */ color: oklch(80.5% 0.157 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd676',
    500: '#ccc533',
    950: '#000000',
  },
}
SCSS
$custom: #ccc533;
$custom-light: #dfd676;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc533",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 51
  },
  "hsl": {
    "h": 57.255,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.80465,
    "c": 0.15731,
    "h": 106.6
  },
  "luminance": 0.53009
}

Semantic roles & 50–950 ramp

primary
#CCC533
secondary
#2F3274
accent
#4CE345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCC533

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

Preview Lab → · Contrast checker → · Palette generator →

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