#CCC33B#CCC33B

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

Color values

HEX#CCC33B
RGBrgb(204, 195, 59)
HSLhsl(56, 59%, 52%)
HSVhsv(56, 71%, 80%)
CMYKcmyk(0%, 4.4%, 71.1%, 20%)
CIE-LABlab(77.39, -12.25, 65.59)
CIE-LCHlch(77.39, 66.72, 100.58°)
OKLaboklab(80.09% -0.0404 0.1454)
OKLCHoklch(80.09% 0.151 105.5)
XYZxyz(45.2082, 52.1850, 11.8282)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC33B #3B44CC
analogous
#CC7B3B #CCC33B #8DCC3B
triadic
#CCC33B #3BCCC3 #C33BCC
tetradic
#CCC33B #3BCC7B #3B44CC #CC3B8D
square
#CCC33B #3BCC7B #3B44CC #CC3B8D
split-complementary
#CCC33B #3B8DCC #7B3BCC
monochromatic
#706A1D #A0992A #CCC33B #D9D26C #E5E19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC33B#FFFFFF#000000##000000
##CCC33B1.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)
#D4BC24
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#DBB6A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc33b;
/* rgb */ color: rgb(204, 195, 59);
/* oklch */ color: oklch(80.1% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd47a',
    500: '#ccc33b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc33b;
$custom-light: #dfd47a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc33b",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 56.276,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.8009,
    "c": 0.15088,
    "h": 105.5
  },
  "luminance": 0.52183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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