#CCCC92#CCCC92

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

Color values

HEX#CCCC92
RGBrgb(204, 204, 146)
HSLhsl(60, 36%, 69%)
HSVhsv(60, 28%, 80%)
CMYKcmyk(0%, 0%, 28.4%, 20%)
CIE-LABlab(80.79, -9.11, 29.00)
CIE-LCHlch(80.79, 30.40, 107.44°)
OKLaboklab(83.12% -0.0235 0.0726)
OKLCHoklch(83.12% 0.076 108)
XYZxyz(51.6832, 58.0992, 35.6802)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC92 #9292CC
analogous
#CCAF92 #CCCC92 #AFCC92
triadic
#CCCC92 #92CCCC #CC92CC
tetradic
#CCCC92 #92CCAF #9292CC #CC92AF
square
#CCCC92 #92CCAF #9292CC #CC92AF
split-complementary
#CCCC92 #92AFCC #AF92CC
monochromatic
#9B9B49 #B8B868 #CCCC92 #E0E0BC #F3F3E5

Accessibility & contrast

On white

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

On black

12.62
#CCCC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC92
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC92#FFFFFF#000000##000000
##CCCC921.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc92;
/* rgb */ color: rgb(204, 204, 146);
/* oklch */ color: oklch(83.1% 0.076 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcdbb2',
    500: '#cccc92',
    950: '#000000',
  },
}
SCSS
$custom: #cccc92;
$custom-light: #dcdbb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc92",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 146
  },
  "hsl": {
    "h": 60,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83121,
    "c": 0.07631,
    "h": 108
  },
  "luminance": 0.58098
}

Semantic roles & 50–950 ramp

primary
#CCCC92
secondary
#6161A1
accent
#36AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCC92

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

Preview Lab → · Contrast checker → · Palette generator →

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