#CCC792#CCC792

#CCC792 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.070 H 103.3°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CCC792
RGBrgb(204, 199, 146)
HSLhsl(55, 36%, 69%)
HSVhsv(55, 28%, 80%)
CMYKcmyk(0%, 2.5%, 28.4%, 20%)
CIE-LABlab(79.48, -6.54, 27.23)
CIE-LCHlch(79.48, 28.01, 103.49°)
OKLaboklab(82.08% -0.0161 0.0684)
OKLCHoklch(82.08% 0.07 103.3)
XYZxyz(50.5138, 55.7605, 35.2904)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC792 #9297CC
analogous
#CCAA92 #CCC792 #B4CC92
triadic
#CCC792 #92CCC7 #C792CC
tetradic
#CCC792 #92CCAA #9297CC #CC92B4
square
#CCC792 #92CCAA #9297CC #CC92B4
split-complementary
#CCC792 #92B4CC #AA92CC
monochromatic
#9B9449 #B8B268 #CCC792 #E0DCBC #F3F2E5

Accessibility & contrast

On white

1.73
#CCC792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CCC792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC792
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC792#FFFFFF#000000##000000
##CCC7921.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C38E
Deuteranopia (green-blind)
#D2C694
Tritanopia (blue-blind)
#D5C0B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc792;
/* rgb */ color: rgb(204, 199, 146);
/* oklch */ color: oklch(82.1% 0.070 103.3);
Tailwind
colors: {
  custom: {
    50: '#dcd7b2',
    500: '#ccc792',
    950: '#000000',
  },
}
SCSS
$custom: #ccc792;
$custom-light: #dcd7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc792",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 146
  },
  "hsl": {
    "h": 54.828,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82078,
    "c": 0.07027,
    "h": 103.3
  },
  "luminance": 0.5576
}

Semantic roles & 50–950 ramp

primary
#CCC792
secondary
#6167A1
accent
#41AF36
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CCC792

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

Preview Lab → · Contrast checker → · Palette generator →

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