#CCCC93#CCCC93

#CCCC93 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.075 H 107.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CCCC93
RGBrgb(204, 204, 147)
HSLhsl(60, 36%, 69%)
HSVhsv(60, 28%, 80%)
CMYKcmyk(0%, 0%, 27.9%, 20%)
CIE-LABlab(80.81, -8.98, 28.50)
CIE-LCHlch(80.81, 29.88, 107.48°)
OKLaboklab(83.14% -0.0231 0.0714)
OKLCHoklch(83.14% 0.075 107.9)
XYZxyz(51.7613, 58.1305, 36.0917)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC93 #9393CC
analogous
#CCB093 #CCCC93 #B0CC93
triadic
#CCCC93 #93CCCC #CC93CC
tetradic
#CCCC93 #93CCB0 #9393CC #CC93B0
square
#CCCC93 #93CCB0 #9393CC #CC93B0
split-complementary
#CCCC93 #93B0CC #B093CC
monochromatic
#9B9B49 #B8B869 #CCCC93 #E0E0BD #F3F3E6

Accessibility & contrast

On white

1.66
#CCCC93 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CCCC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC93
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC93#FFFFFF#000000##000000
##CCCC931.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C78F
Deuteranopia (green-blind)
#D6CA95
Tritanopia (blue-blind)
#D4C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccc93;
/* rgb */ color: rgb(204, 204, 147);
/* oklch */ color: oklch(83.1% 0.075 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcdbb3',
    500: '#cccc93',
    950: '#000000',
  },
}
SCSS
$custom: #cccc93;
$custom-light: #dcdbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc93",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 35.849,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83141,
    "c": 0.07508,
    "h": 107.9
  },
  "luminance": 0.5813
}

Semantic roles & 50–950 ramp

primary
#CCCC93
secondary
#6262A1
accent
#37AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCC93

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

Preview Lab → · Contrast checker → · Palette generator →

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