#CCC33D#CCC33D

#CCC33D 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#CCC33D
RGBrgb(204, 195, 61)
HSLhsl(56, 58%, 52%)
HSVhsv(56, 70%, 80%)
CMYKcmyk(0%, 4.4%, 70.1%, 20%)
CIE-LABlab(77.40, -12.15, 64.87)
CIE-LCHlch(77.40, 66.00, 100.61°)
OKLaboklab(80.1% -0.0399 0.1442)
OKLCHoklch(80.1% 0.15 105.5)
XYZxyz(45.2611, 52.2062, 12.1066)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC33D #3D46CC
analogous
#CC7C3D #CCC33D #8DCC3D
triadic
#CCC33D #3DCCC3 #C33DCC
tetradic
#CCC33D #3DCC7C #3D46CC #CC3D8D
square
#CCC33D #3DCC7C #3D46CC #CC3D8D
split-complementary
#CCC33D #3D8DCC #7C3DCC
monochromatic
#716C1E #A19A2A #CCC33D #D9D26D #E5E19E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC33D#FFFFFF#000000##000000
##CCC33D1.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)
#D4BC27
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#DBB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc33d;
/* rgb */ color: rgb(204, 195, 61);
/* oklch */ color: oklch(80.1% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd47b',
    500: '#ccc33d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc33d;
$custom-light: #dfd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc33d",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 61
  },
  "hsl": {
    "h": 56.224,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.14962,
    "h": 105.5
  },
  "luminance": 0.52205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC33D

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

Preview Lab → · Contrast checker → · Palette generator →

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