#CCC941#CCC941

#CCC941 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.153 H 108.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CCC941
RGBrgb(204, 201, 65)
HSLhsl(59, 58%, 53%)
HSVhsv(59, 68%, 80%)
CMYKcmyk(0%, 1.5%, 68.1%, 20%)
CIE-LABlab(79.04, -14.98, 64.99)
CIE-LCHlch(79.04, 66.70, 102.98°)
OKLaboklab(81.41% -0.0475 0.1451)
OKLCHoklch(81.41% 0.153 108.1)
XYZxyz(46.7443, 54.9938, 13.1526)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC941 #4144CC
analogous
#CC8341 #CCC941 #89CC41
triadic
#CCC941 #41CCC9 #C941CC
tetradic
#CCC941 #41CC83 #4144CC #CC4189
square
#CCC941 #41CC83 #4144CC #CC4189
split-complementary
#CCC941 #4189CC #8341CC
monochromatic
#74721F #A4A12C #CCC941 #D9D771 #E6E4A1

Accessibility & contrast

On white

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

On black

12.00
#CCC941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC941
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC941#FFFFFF#000000##000000
##CCC9411.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc941;
/* rgb */ color: rgb(204, 201, 65);
/* oklch */ color: oklch(81.4% 0.153 108.1);
Tailwind
colors: {
  custom: {
    50: '#dfd97e',
    500: '#ccc941',
    950: '#000000',
  },
}
SCSS
$custom: #ccc941;
$custom-light: #dfd97e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc941",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 58.705,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81414,
    "c": 0.15271,
    "h": 108.1
  },
  "luminance": 0.54992
}

Semantic roles & 50–950 ramp

primary
#CCC941
secondary
#35367C
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC941

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

Preview Lab → · Contrast checker → · Palette generator →

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