#CCC93C#CCC93C

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

Color values

HEX#CCC93C
RGBrgb(204, 201, 60)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1.5%, 70.6%, 20%)
CIE-LABlab(79.01, -15.23, 66.80)
CIE-LCHlch(79.01, 68.51, 102.84°)
OKLaboklab(81.38% -0.0487 0.1481)
OKLCHoklch(81.38% 0.156 108.2)
XYZxyz(46.6058, 54.9384, 12.4232)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC93C #3C3FCC
analogous
#CC813C #CCC93C #87CC3C
triadic
#CCC93C #3CCCC9 #C93CCC
tetradic
#CCC93C #3CCC81 #3C3FCC #CC3C87
square
#CCC93C #3CCC81 #3C3FCC #CC3C87
split-complementary
#CCC93C #3C87CC #813CCC
monochromatic
#706F1D #A19E2A #CCC93C #D9D66D #E5E49D

Accessibility & contrast

On white

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

On black

11.99
#CCC93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC93C
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC93C#FFFFFF#000000##000000
##CCC93C1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#DBBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc93c;
/* rgb */ color: rgb(204, 201, 60);
/* oklch */ color: oklch(81.4% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfd97b',
    500: '#ccc93c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc93c;
$custom-light: #dfd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc93c",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 58.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81378,
    "c": 0.15589,
    "h": 108.2
  },
  "luminance": 0.54937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC93C

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

Preview Lab → · Contrast checker → · Palette generator →

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