#CCC937#CCC937

#CCC937 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#CCC937
RGBrgb(204, 201, 55)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 73%, 80%)
CMYKcmyk(0%, 1.5%, 73%, 20%)
CIE-LABlab(78.98, -15.46, 68.51)
CIE-LCHlch(78.98, 70.23, 102.72°)
OKLaboklab(81.35% -0.0498 0.1508)
OKLCHoklch(81.35% 0.159 108.3)
XYZxyz(46.4798, 54.8880, 11.7598)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC937 #373ACC
analogous
#CC7E37 #CCC937 #84CC37
triadic
#CCC937 #37CCC9 #C937CC
tetradic
#CCC937 #37CC7E #373ACC #CC3784
square
#CCC937 #37CC7E #373ACC #CC3784
split-complementary
#CCC937 #3784CC #7E37CC
monochromatic
#6D6B1C #9E9B28 #CCC937 #D8D668 #E5E399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC937#FFFFFF#000000##000000
##CCC9371.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)
#DAC119
Deuteranopia (green-blind)
#DCC642
Tritanopia (blue-blind)
#DBBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc937;
/* rgb */ color: rgb(204, 201, 55);
/* oklch */ color: oklch(81.3% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#dfd978',
    500: '#ccc937',
    950: '#000000',
  },
}
SCSS
$custom: #ccc937;
$custom-light: #dfd978;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc937",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 58.792,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81346,
    "c": 0.15884,
    "h": 108.3
  },
  "luminance": 0.54886
}

Semantic roles & 50–950 ramp

primary
#CCC937
secondary
#313276
accent
#48E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC937

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

Preview Lab → · Contrast checker → · Palette generator →

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