#CCC933#CCC933

#CCC933 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.161 H 108.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CCC933
RGBrgb(204, 201, 51)
HSLhsl(59, 60%, 50%)
HSVhsv(59, 75%, 80%)
CMYKcmyk(0%, 1.5%, 75%, 20%)
CIE-LABlab(78.96, -15.63, 69.80)
CIE-LCHlch(78.96, 71.53, 102.62°)
OKLaboklab(81.32% -0.0506 0.1529)
OKLCHoklch(81.32% 0.161 108.3)
XYZxyz(46.3878, 54.8512, 11.2751)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC933 #3336CC
analogous
#CC7D33 #CCC933 #82CC33
triadic
#CCC933 #33CCC9 #C933CC
tetradic
#CCC933 #33CC7D #3336CC #CC3382
square
#CCC933 #33CC7D #3336CC #CC3382
split-complementary
#CCC933 #3382CC #7D33CC
monochromatic
#6A691B #9B9927 #CCC933 #D8D664 #E4E395

Accessibility & contrast

On white

1.75
#CCC933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CCC933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC933
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC933#FFFFFF#000000##000000
##CCC9331.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC10E
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#DBBCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc933;
/* rgb */ color: rgb(204, 201, 51);
/* oklch */ color: oklch(81.3% 0.161 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfd977',
    500: '#ccc933',
    950: '#000000',
  },
}
SCSS
$custom: #ccc933;
$custom-light: #dfd977;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc933",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 58.824,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81322,
    "c": 0.16102,
    "h": 108.3
  },
  "luminance": 0.5485
}

Semantic roles & 50–950 ramp

primary
#CCC933
secondary
#2F3174
accent
#48E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCC933

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

Preview Lab → · Contrast checker → · Palette generator →

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