#CCC33F#CCC33F

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

Color values

HEX#CCC33F
RGBrgb(204, 195, 63)
HSLhsl(56, 58%, 52%)
HSVhsv(56, 69%, 80%)
CMYKcmyk(0%, 4.4%, 69.1%, 20%)
CIE-LABlab(77.42, -12.05, 64.13)
CIE-LCHlch(77.42, 65.25, 100.64°)
OKLaboklab(80.12% -0.0394 0.143)
OKLCHoklch(80.12% 0.148 105.4)
XYZxyz(45.3159, 52.2281, 12.3957)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC33F #3F48CC
analogous
#CC7C3F #CCC33F #8FCC3F
triadic
#CCC33F #3FCCC3 #C33FCC
tetradic
#CCC33F #3FCC7C #3F48CC #CC3F8F
square
#CCC33F #3FCC7C #3F48CC #CC3F8F
split-complementary
#CCC33F #3F8FCC #7C3FCC
monochromatic
#726D1E #A39B2B #CCC33F #D9D26F #E6E1A0

Accessibility & contrast

On white

1.83
#CCC33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CCC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC33F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC33F#FFFFFF#000000##000000
##CCC33F1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc33f;
/* rgb */ color: rgb(204, 195, 63);
/* oklch */ color: oklch(80.1% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd47c',
    500: '#ccc33f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc33f;
$custom-light: #dfd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc33f",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 56.17,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80118,
    "c": 0.14833,
    "h": 105.4
  },
  "luminance": 0.52226
}

Semantic roles & 50–950 ramp

primary
#CCC33F
secondary
#34397B
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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