#CCC692#CCC692

#CCC692 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.069 H 102.3°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CCC692
RGBrgb(204, 198, 146)
HSLhsl(54, 36%, 69%)
HSVhsv(54, 28%, 80%)
CMYKcmyk(0%, 2.9%, 28.4%, 20%)
CIE-LABlab(79.21, -6.02, 26.88)
CIE-LCHlch(79.21, 27.55, 102.62°)
OKLaboklab(81.87% -0.0147 0.0675)
OKLCHoklch(81.87% 0.069 102.3)
XYZxyz(50.2845, 55.3018, 35.2140)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC692 #9298CC
analogous
#CCA992 #CCC692 #B5CC92
triadic
#CCC692 #92CCC6 #C692CC
tetradic
#CCC692 #92CCA9 #9298CC #CC92B5
square
#CCC692 #92CCA9 #9298CC #CC92B5
split-complementary
#CCC692 #92B5CC #A992CC
monochromatic
#9B9349 #B8B068 #CCC692 #E0DCBC #F3F2E5

Accessibility & contrast

On white

1.74
#CCC692 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CCC692 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC692
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC692#FFFFFF#000000##000000
##CCC6921.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C28F
Deuteranopia (green-blind)
#D2C694
Tritanopia (blue-blind)
#D5BFB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc692;
/* rgb */ color: rgb(204, 198, 146);
/* oklch */ color: oklch(81.9% 0.069 102.3);
Tailwind
colors: {
  custom: {
    50: '#dcd7b2',
    500: '#ccc692',
    950: '#000000',
  },
}
SCSS
$custom: #ccc692;
$custom-light: #dcd7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc692",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 146
  },
  "hsl": {
    "h": 53.793,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81871,
    "c": 0.06911,
    "h": 102.3
  },
  "luminance": 0.55301
}

Semantic roles & 50–950 ramp

primary
#CCC692
secondary
#6168A1
accent
#43AF36
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CCC692

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

Preview Lab → · Contrast checker → · Palette generator →

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