#CCC936#CCC936

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

Color values

HEX#CCC936
RGBrgb(204, 201, 54)
HSLhsl(59, 60%, 51%)
HSVhsv(59, 74%, 80%)
CMYKcmyk(0%, 1.5%, 73.5%, 20%)
CIE-LABlab(78.97, -15.50, 68.84)
CIE-LCHlch(78.97, 70.56, 102.69°)
OKLaboklab(81.34% -0.05 0.1514)
OKLCHoklch(81.34% 0.159 108.3)
XYZxyz(46.4561, 54.8785, 11.6348)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC936 #3639CC
analogous
#CC7E36 #CCC936 #84CC36
triadic
#CCC936 #36CCC9 #C936CC
tetradic
#CCC936 #36CC7E #3639CC #CC3684
square
#CCC936 #36CC7E #3639CC #CC3684
split-complementary
#CCC936 #3684CC #7E36CC
monochromatic
#6C6B1B #9D9B28 #CCC936 #D8D667 #E5E398

Accessibility & contrast

On white

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

On black

11.98
#CCC936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC936
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC936#FFFFFF#000000##000000
##CCC9361.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc936;
/* rgb */ color: rgb(204, 201, 54);
/* oklch */ color: oklch(81.3% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfd978',
    500: '#ccc936',
    950: '#000000',
  },
}
SCSS
$custom: #ccc936;
$custom-light: #dfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc936",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 58.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.8134,
    "c": 0.1594,
    "h": 108.3
  },
  "luminance": 0.54877
}

Semantic roles & 50–950 ramp

primary
#CCC936
secondary
#303276
accent
#48E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC936

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

Preview Lab → · Contrast checker → · Palette generator →

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