#CCCA92#CCCA92

#CCCA92 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.074 H 106.2°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CCCA92
RGBrgb(204, 202, 146)
HSLhsl(58, 36%, 69%)
HSVhsv(58, 28%, 80%)
CMYKcmyk(0%, 1%, 28.4%, 20%)
CIE-LABlab(80.27, -8.08, 28.29)
CIE-LCHlch(80.27, 29.43, 105.94°)
OKLaboklab(82.7% -0.0206 0.0709)
OKLCHoklch(82.7% 0.074 106.2)
XYZxyz(51.2109, 57.1546, 35.5228)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA92 #9294CC
analogous
#CCAD92 #CCCA92 #B1CC92
triadic
#CCCA92 #92CCCA #CA92CC
tetradic
#CCCA92 #92CCAD #9294CC #CC92B1
square
#CCCA92 #92CCAD #9294CC #CC92B1
split-complementary
#CCCA92 #92B1CC #AD92CC
monochromatic
#9B9849 #B8B668 #CCCA92 #E0DEBC #F3F3E5

Accessibility & contrast

On white

1.69
#CCCA92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CCCA92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA92
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA92#FFFFFF#000000##000000
##CCCA921.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C68E
Deuteranopia (green-blind)
#D5C894
Tritanopia (blue-blind)
#D4C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca92;
/* rgb */ color: rgb(204, 202, 146);
/* oklch */ color: oklch(82.7% 0.074 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcdab2',
    500: '#ccca92',
    950: '#000000',
  },
}
SCSS
$custom: #ccca92;
$custom-light: #dcdab2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca92",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 146
  },
  "hsl": {
    "h": 57.931,
    "s": 36.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82703,
    "c": 0.07384,
    "h": 106.2
  },
  "luminance": 0.57154
}

Semantic roles & 50–950 ramp

primary
#CCCA92
secondary
#6163A1
accent
#3BAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA92

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

Preview Lab → · Contrast checker → · Palette generator →

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