#CCC93A#CCC93A

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

Color values

HEX#CCC93A
RGBrgb(204, 201, 58)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 72%, 80%)
CMYKcmyk(0%, 1.5%, 71.6%, 20%)
CIE-LABlab(78.99, -15.32, 67.50)
CIE-LCHlch(78.99, 69.21, 102.79°)
OKLaboklab(81.36% -0.0491 0.1492)
OKLCHoklch(81.36% 0.157 108.2)
XYZxyz(46.5539, 54.9177, 12.1501)
Luminance0.5492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC93A #3A3DCC
analogous
#CC803A #CCC93A #86CC3A
triadic
#CCC93A #3ACCC9 #C93ACC
tetradic
#CCC93A #3ACC80 #3A3DCC #CC3A86
square
#CCC93A #3ACC80 #3A3DCC #CC3A86
split-complementary
#CCC93A #3A86CC #803ACC
monochromatic
#6F6D1D #A09D29 #CCC93A #D9D66B #E5E49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC93A#FFFFFF#000000##000000
##CCC93A1.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)
#DAC11F
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#DBBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc93a;
/* rgb */ color: rgb(204, 201, 58);
/* oklch */ color: oklch(81.4% 0.157 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfd97a',
    500: '#ccc93a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc93a;
$custom-light: #dfd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc93a",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 58.767,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81365,
    "c": 0.15711,
    "h": 108.2
  },
  "luminance": 0.54916
}

Semantic roles & 50–950 ramp

primary
#CCC93A
secondary
#323378
accent
#49E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC93A

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

Preview Lab → · Contrast checker → · Palette generator →

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